issue with unmount of XFS partation

Emmanuel Florac eflorac at intellique.com
Wed Dec 1 01:42:25 CST 2010


Le Wed, 1 Dec 2010 10:13:57 +0530 vous écriviez:

> FAT got unmounted every time, but XFS does not,
> 
> /dev/sda2 on /dtv/usb/sda2 type xfs (rw,relatime,nouuid,attr2,noquota)
> /dev/sdb2 on /dtv/usb/sdb2 type xfs (rw,relatime,nouuid,attr2,noquota)
> 
> If I do sync on Shell I got below error.

I don't get it, do you unmount the FS before unplugging USB? It looks
like you simply pulled the cable. FAT is an extremely primitive
filesystem that remains coherent when there isn't any data in cache or
disk activity; xfs (and all other modern filesystems) simply doesn't
work that way. You must "umount" it before unplugging, else you'll
break it.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------




More information about the xfs mailing list