Problem with XFS on USB 2TB HD
Eric Sandeen
sandeen at sandeen.net
Sun Dec 19 11:30:39 CST 2010
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
More information about the xfs
mailing list