Can't mount UFS (FreeBSD) hard drive

Naibed's picture


I'm sorry I did not include details.

There is a 2TB UFS-formated hard drive in a modular non-RAID external USB enclosure.

I get this popup error when I plug the drive in and Ubuntu tries to automount:

Unable to access “2.0 TB Volume”

Error mounting /dev/sdd1 at /media/a4090/disk: Command-line `mount -t "ufs" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdd1" "/media/a4090/disk"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

At this point I entered commands to mount UFS manually (using this as a reference )
This is the output from the CLI:

a4090@x785:~$ sudo modprobe ufs
[sudo] password for aaa:
a4090@x785:~$ mkdir ~/ufs_mount
a4090@x785:~$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdd1 /home/aaa/ufs_mount

After these manipulations I go to the file manager that now sees the volume in question as mounted, but when I click on it I get the following popup error:

This location could not be displayed.

You do not have the permissions necessary to view the contents of “ufs_mount”.

In the file manager, when I navigate to /home/aaa/ufs_mount (with a mouse, of course) I am able to open the folder with no errors, but there are no visible files within it.