Mount UFS filesystem

95,958

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.

Share:
95,958

Related videos on Youtube

Tim
Author by

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, 2022

Comments

  • Tim
    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
    Tim over 12 years
    Thank 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.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
  • Bruno Pereira
    Bruno Pereira over 12 years
    what does sudo fdisk -l output (add it to your question by pressing the edit button)
  • Tim
    Tim over 12 years
    The command did not output anything :/
  • Bruno Pereira
    Bruno Pereira over 12 years
    try with sudo, I fixed the request in the comment (without sudo does not output anything)
  • Bruno Pereira
    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
    Tim over 12 years
    It 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
    Admin over 12 years
    Will this auto-mount the drive on any reboots?