xfs
[Top] [All Lists]

Re: Q: xfs_db: invalid numrecs (*) in bmapbtd block

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: Q: xfs_db: invalid numrecs (*) in bmapbtd block
From: Timofey Titovets <nefelim4ag@xxxxxxxxx>
Date: Mon, 29 Jun 2015 01:29:10 +0300
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+JthZCEB7c8U9oNw9ZEn9yZylx6IVq/0RRaDyV2WvVk=; b=gufOa2wEb0o/PxIPmTqQnKLdbtuYfxWOG+2KdxXw7d4Di0j96JWCTXhWcBe8/5DMep P6odd3Xt82zoR9ol38YhZ2Tb5L2yin8JSd/1ZHtblmwSYb8usH4FeCeeHdlbUqObAzKd QbBSbDq6gfJWYfhAcMnD5YKKi/7vufxqvd/wc7IKajoP+quTCb/vH/YIAUfi3rjKhToS ZvVoPJay51cVLdWUNWMwPQ752fMUA61W8FvjzfHvj2fJJIWG8/n6+1tKzVuVpRQffYLL qkEIT35ScDbtf2Bw6d5ZplavCPk5rtjgb5Vj6BofsDoQJwrWLSnWRs9NJ44FjnQbHUMZ 1AEw==
In-reply-to: <55907148.1050509@xxxxxxxxxxx>
References: <CAGqmi75jFGjWvFFT5HTwyO1tv4-d4J=aVJ83L2zqNyWMDOz1RQ@xxxxxxxxxxxxxx> <55907148.1050509@xxxxxxxxxxx>
2015-06-29 1:12 GMT+03:00 Eric Sandeen <sandeen@xxxxxxxxxxx>:
> On 6/28/15 1:44 PM, Timofey Titovets wrote:
>> Good time of day list,
>> i do regular check fragmentation on my servers and xfs_db show strange erros:
>
> No need, really.
>
> http://xfs.org/index.php/XFS_FAQ#Q:_The_xfs_db_.22frag.22_command_says_I.27m_over_50.25._Is_that_bad.3F

I just collects metrics for Zabbix monitoring.

>> # xfs_db -c frag -r /dev/sdc1
>> invalid numrecs (51914) in bmapbtd block
>> invalid numrecs (2827) in bmapbtd block
>
> ...
>
>> actual 504454, ideal 126776, fragmentation factor 74.87%
>
>
>
>> I already google error, and can't find any answer or explanation what
>> is it, how danger it or something like.
>> It's a production servers with several TB of data and this output make
>> me unhappy. =.=
>
> does xfs_repair find any errors?

i can't run xfs_repair on mounted fs as you know =)

>> And i can't do fast stop it, unmount and check file system.
>> (this is nfs server for virtual machines images)
>
> Oh.  So you're doing it with an online/mounted filesystem?

Yes, it must be not a problem.
(This error happen only on 2 from 9 servers, after many month of
stable working, others seems in good state)

> The on-disk filesystem isn't necessarily consistent when mounted,
> some of that consistency lives in the log.
>
>
> You're likely just seeing that inconsitency because you're reading
> it while it's mounted; possibly even while it's being modified.
>
> -Eric

I already thinked about this case, and it seems incredible.
1. i can get consistent or very close to consistent fs, by run 'sync'
2. Okay, supposing you are right,
then i must get different errors over time, because fs will change own
state over time (also after every sync call).
But its don't happen, i get same errors over long period of time (1
day+, i think on busy FS server, its enoug to think what data on disk
has changed)
Also, i have several others server, and on it i didn't see this
problem (over 2-3 month).


Then I can conclude this is errors in FS, only what matter to me now,
this type of errors can damage my data and i must move virtual
machines from it ASAP, or i can continue working and this is just
"artefact".

Fix me if i'm wrong.

>> Thanks for any help, anyway.
>>
>

-- 
Have a nice day,
Timofey.

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