umount doesn't seem to really unmount
Stefan Ring
stefanrin at gmail.com
Sun Aug 26 04:32:01 CDT 2012
Today I had some data loss with an XFS filesystem, apparently because
it does not write everything to disk during unmount. Yesterday, I shut
down my machine for the night. My XFS lives on an iSCSI volume which I
shut down shortly, but not instantly, after unmounting the XFS
filesystem. There has been no noticable disk activity after the
umount. Today, some recently written files all had size zero.
Additional indicators that something is amiss is, that during startup,
when mounting the XFS filesystem, it would often claim that it has
done log recovery, which should not be the case if it had been
unmounted correctly. Also, when I just mount and unmount the
filesystem repeatedly, I would at least expect "ending clean mount"
messages in dmesg, like I get on CentOS 6. Not so on my system.
This is with kernel 3.5.2-3.fc17 from Fedora. Is there a known problem?
More information about the xfs
mailing list