Mounting UFS file systems in Ubuntu should be straight forward. Follow these simple steps to make sure that your are mounting your FreeNAS disks properly in Ubuntu:
Load the UFS module (or make sure its loaded)
sudo modprobe ufs
Make a directory where to mount the files on
mkdir ~/ufs_mount
To find out which device holds your UFS file system use the command fdisk -l, note which device you intend to mount.
Mount the file system to the directory your previously created
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb1 /home/<your_username>/ufs_mount
(where: sdb1 is the UFS partition you want to mount and <your_username> is the your current username where the intended mounting point was created previously.
codemount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so – Tim Dec 04 '11 at 20:54sudo fdisk -loutput (add it to your question by pressing the edit button) – Bruno Pereira Dec 04 '11 at 20:57sudo, I fixed the request in the comment (without sudo does not output anything) – Bruno Pereira Dec 04 '11 at 21:03cat /proc/partitionswill also do, again add that to the question it self instead of as a comment here – Bruno Pereira Dec 04 '11 at 21:05