xfs
[Top] [All Lists]

Re: XFS internal error

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: XFS internal error
From: Steve Lord <lord@xxxxxxx>
Date: Wed, 06 Oct 2004 12:27:32 -0500
Cc: dseff@xxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <41640A46.10007@xxxxxxx>
References: <1097073134.18322.37.camel@jupiter> <41640A46.10007@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040626)
Eric Sandeen wrote:
Well, it's an error during log recovery;

/*
 * If this failure happens the request to free this
 * space was invalid, it's (partly) already free.
 * Very bad.
 */
XFS_WANT_CORRUPTED_GOTO(ltbno + ltlen <= bno, error0);

I think that this is not a problem in your log, but rather a problem in the data portion of your filesystem which the log replay is trying to modify.

The two options now are probably to either start doing some debugging by using xfs_logprint and xfs_db to figure out what's wrong, or to zero out the log (thus throwing away any metadata changes in the log; possibly not such a good thing for your files in /var) and then running xfs_repair.

-Eric


Hi Eric,

Most of the replay has actually happened at this point, so most of the
updates should already be in the metadata. This is just cleaning up
the freed space.

xfs_repair -L is probably the best bet to get the fs back.

Steve


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