Ubuntu – How to mount XFS filesystem in ubuntu

mountUbuntuxfs

I am trying to mount a hard drive with an XFS filesystem on it in Ubuntu. It was originally formatted in a netgear stora NAS device.

I am using a command in ubuntu like this,

sudo mount -t xfs /dev/sdc1 /mnt/stora

The command craps out the whole operating system. The GUI closes, a command prompt comes up and the machine is useless from that point, I have to reset. The error is this,

BUG: Unable to handle kernell NULL pointer derefence at 0000000c
xfs_alloc_fix_freelist

So I take it there is an XFS module and there is a bug. I have installed a clean 11.04 Ubuntu, so is there perhaps some bug fixes for the XFS module?

Best Answer

Regarding the output of the fdisk command, I would mount your partition using the following command:

sudo mount -t xfs /dev/sdb1 /mnt/stora

The error message you get comes from a typo: the device to your partition is /dev/sdb1 and not /dev/sdb.

Related Question