xfs
[Top] [All Lists]

Re: Problem with XFS on USB 2TB HD

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: Problem with XFS on USB 2TB HD
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 19 Dec 2010 11:30:39 -0600
Cc: xfs@xxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20101219155703.0dba96ff@xxxxxxxxxxxxxx>
References: <4D0C9A4F.4040108@xxxxxxxxxxx> <4D0D6825.9010209@xxxxxxxxxxx> <20101219155703.0dba96ff@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
On 12/19/10 8:57 AM, Emmanuel Florac wrote:
> Le Sun, 19 Dec 2010 03:04:21 +0100 vous écriviez:
> 
>> ERROR: The filesystem has valuable metadata changes in a log which
>> needs to be replayed.
> 
> Given this message, you'll have to run xfs_repair with the zero log
> option ( -L ). This is dangerous, but it can't get much worse anyway.

I agree with that approach.

> Run xfs_repair -L /device , you should be able to mount your filesystem
> afterwards, however any data under change at the time of failure will
> most probably be lost.

And something seems to have really whacked your filesystem; odds are 
the USB transport was lying to xfs one way or another about completed
writes, and when it went away, things were not consistent on disk
as expected.

-Eric

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