On Aug 26, 2012, at 2:32 AM, Stefan Ring <stefanrin@xxxxxxxxx> wrote:
> 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?
Do you have barriers on and does iscsi pass them through to the target, and
does the target propagate them to the disk itself?
> xfs mailing list