xfs
[Top] [All Lists]

Re: Metadata corruption

To: xfs@xxxxxxxxxxx
Subject: Re: Metadata corruption
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 13 Jun 2016 10:49:02 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160613112738.GA4730@xxxxxxxxxxxxxxx>
References: <7494383b-a153-7a79-b872-42ac6506ac9e@xxxxxxxxx> <20160613112738.GA4730@xxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 6/13/16 6:27 AM, Brian Foster wrote:
> On Mon, Jun 13, 2016 at 09:27:57AM +0300, Martin Aleksov wrote:
>> HiThere,
>>
>> I'm using XFS on Arch linux.Each 2 days I'm receiving this error:
>>
>>
>> Metadata corruption detected at xfs_inode block 0x5bd20/0x8000
>>
>> while doing this:
>>
>>
>> [martin@marto ~]$ sudo xfs_db -c frag -r /dev/sda2
> 
> sda2 is your root filesystem.. so I assume the filesystem is mounted
> when you run this? If so, this type of thing could be expected. Do you
> see errors in the logs otherwise? If not, I'd suggest to repeat this
> from a ramdisk or boot/recovery disk where the filesystem isn't mounted
> to confirm.

That's probably it.  In addition, I would suggest not
running the frag command, as it is largely useless:

http://xfs.org/index.php/XFS_FAQ#Q:_The_xfs_db_.22frag.22_command_says_I.27m_over_50.25._Is_that_bad.3F

-Eric

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