xfs
[Top] [All Lists]

Re: umount doesn't seem to really unmount

To: Stefan Ring <stefanrin@xxxxxxxxx>
Subject: Re: umount doesn't seem to really unmount
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 26 Aug 2012 13:11:29 -0700
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
In-reply-to: <CAAxjCEwdYbcDoUvcAV1n8281HCCvrCvReaG2oM5+h+WV5yDZvA@xxxxxxxxxxxxxx>
References: <CAAxjCEwdYbcDoUvcAV1n8281HCCvrCvReaG2oM5+h+WV5yDZvA@xxxxxxxxxxxxxx>
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?

Eric

> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
> 

<Prev in Thread] Current Thread [Next in Thread>