Mount UFS filesystem
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.
Related videos on Youtube
Tim
Hi everybody! I'm working as SharePoint developer for a small consulting firm in Malmö, Sweden. I have a background as an informatics student and have done some light developing in web development, both in ASP.NET and PHP/MySQL. I like programming with C#.NET, jQuery, HTML and more typical SharePoint relative techniques. At home I've just begun using Ubuntu instead of my old FreeNAS 7.2 machine.
Updated on September 18, 2022Comments
-
Tim almost 2 years
How do I mount a partition with UFS filesystem (FreeNAS) in Ubuntu 11.10?
I'm a total Ubuntu newbie and just switched from FreeNAS.
There should be ll the info I need I guess, but if anyone would help me get going i'll by glad =)
http://manpages.ubuntu.com/manpages/hardy/man8/mount.8.html -
Tim over 12 yearsThank you! I think I've missed a step before though, as in "adding" the disk to the system somehow? Because the command seems to mount a partion, and I haven't yet mounted the disk.
code
mount: 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 -
Bruno Pereira over 12 yearswhat does
sudo fdisk -l
output (add it to your question by pressing the edit button) -
Tim over 12 yearsThe command did not output anything :/
-
Bruno Pereira over 12 yearstry with
sudo
, I fixed the request in the comment (without sudo does not output anything) -
Bruno Pereira over 12 years
cat /proc/partitions
will also do, again add that to the question it self instead of as a comment here -
Tim over 12 yearsIt worked with another UFS disk I have! Now I have to figure out how to save the other one. Thank you Bruno Pereira for your help!
-
Admin over 12 yearsWill this auto-mount the drive on any reboots?