xfs
[Top] [All Lists]

Re: EFSCORRUPTED on mount?

To: Gregory Farnum <gregory.farnum@xxxxxxxxxxxxx>
Subject: Re: EFSCORRUPTED on mount?
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Wed, 23 Nov 2011 10:51:29 -0500
Cc: xfs@xxxxxxxxxxx, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>
In-reply-to: <CAF3hT9D1hGh0sj-v4S5tjZBAiztO3OwddSK2dgt8QVLkcWP77A@xxxxxxxxxxxxxx>
References: <CAF3hT9B8-ou-4RhfCkfFWTwwB_tb7nWSP-5pgP3G6oTE+1gAvA@xxxxxxxxxxxxxx> <CAF3hT9AurrVi7xosauVmhQcsbqJgLsxkNYm6dWDNCpB+GR69=w@xxxxxxxxxxxxxx> <20111122014114.GJ2386@dastard> <CAF3hT9Cu+56WJqzHVu+fMgquddwoMsfW-WC8CvRRBtC4PA3uHw@xxxxxxxxxxxxxx> <4ECBEF83.5020607@xxxxxxxxxxx> <CAF3hT9CA23aDfYTF__mVEM7jRq=ZEgqhfX49hK9kcBqM_+h0CQ@xxxxxxxxxxxxxx> <4ECC19C3.5070905@xxxxxxxxxxx> <CAF3hT9D1hGh0sj-v4S5tjZBAiztO3OwddSK2dgt8QVLkcWP77A@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Nov 22, 2011 at 04:03:15PM -0800, Gregory Farnum wrote:
> We're going to look into this in more detail very shortly. Right now
> all I can tell you is that none of the drives ever actually lost
> power, so unless something is explicitly telling them to clear their
> caches I don't know how the drives could have lost their cache to
> cause a problem like this.
> But for now I'll just see what I can get by zeroing out the log, and
> we'll get back to you again if we manage to reproduce this in a
> situation where we can tell you more definitively about the caching
> and barriers.

I would be very interested in that.  The situation you have is fairly
easy to pinpoint down - we do log recovery and find and EFI record
in the log - that is one that logs the intent to free extents.

We haven't found the corresponing EFD record, which cancels it out
as part of the transaction doing the actual freeing.  I'd love to
see a log dump of a fs iff this can be reproduced as that would
shows us if we had some sort of bug in recovery.

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