[GRLUG] Mounting XFS though usb?

Adam Tauno Williams awilliam at whitemice.org
Wed Sep 2 21:02:37 EDT 2009


On Wed, 2009-09-02 at 20:48 -0400, Benjamin Flanders wrote:
> Is this possible?  I am setting up my new server and would like to
> transfer some files from the old hard drives to my new one.  I am
> using an usb enclosure to access the old hard drives.
> I can mount the ext3 /boot partition using 'sudo mount -t etx3
> /dev/sdc1 /media/usbDrive/' but when I try to mount the xfs partition
> by 'sudo mount -t xfs /dev/sdc5 /media/usbDrive/'  I get the error

I'd guess you are mounting the wrong partition.  I've mounted XFS
volumes from drives in USB caddies numerous times - there is no
fundamental reason it won't work.

> mount: wrong fs, type, bad option, bad superblock on /dev/sdc5,
> missing codepage or helper program, or other error
> dmesg | tail shows
> XFS: bad magic number
> XFS: SB validate failed
> I do believe that the partition is formated using XFS (It's been a
> while since I set this server up) if I try any other fs type, dmesg
> shows Can't find ext3(for example) filesystem on dev sdc5

Use "file -s" to identify the contents of the partition.

> This is using ubuntu 9.04 server edition if that makes a difference.

Nah, it doesn't - so long as it has XFS support.



More information about the grlug mailing list