xfs
[Top] [All Lists]

Re: XFS dirty after sync/reboot?

To: Phillip Susi <psusi@xxxxxxxxxx>
Subject: Re: XFS dirty after sync/reboot?
From: Ben Myers <bpm@xxxxxxx>
Date: Fri, 25 Jan 2013 12:50:40 -0600
Cc: xfs@xxxxxxxxxxx, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5102CFD7.20400@xxxxxxxxxx>
References: <5102CFD7.20400@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
Hey Philip,

On Fri, Jan 25, 2013 at 01:32:55PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> While triaging a bug filed in Ubuntu involving odd reboot failures, it
> appears that XFS leaves the filesystem in a corrupt state that
> requires journal playback to fix after a sync or reboot.  Grub2
> doesn't seem to understand the journal, leading to all kinds of
> confusion after the reboot.
>
> Shouldn't a full sync or remount to r/o flush the journal transactions
> and leave the fs fully clean?

It should.  We have a bug in xfs in that area.

> Original bug report: https://launchpad.net/bugs/1103187

Try this patch which was recently proposed for 3.5-3.7 stable trees:
http://oss.sgi.com/archives/xfs/2012-12/msg00324.html

Regards,
Ben

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