xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Q: xfs_db: invalid numrecs (*) in bmapbtd block
From: Timofey Titovets <nefelim4ag@xxxxxxxxx>
Date: Mon, 29 Jun 2015 03:48: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=WgXYSFj9Z1/JamQHFmX5lf0sGVOUbgJu0daEqY81+C0=; b=RPTF0RbW/spBVYM9Nt7HHTgejHUDd+dqbXP4/dWt1Fjo22fFiV88kX+/Ls+tOOr0HP +mAFYANhfk+tTF+8qyFx4eXIWQlSnuL4HvE83LDeQvRhx28RyL3qm8R077J7gN8Z8CX9 WW50vxGnQhrQikFQB/cZgoZ4KnRGsVq3VaQ5GXRC8cOznCi2BTMvDX9XIsUuaanLOtBV Woga3XCNJUfytubAwvoVVfPayXyx0zKtJrP9pHIUCTffiFzmTSfyp59oeadAnmZZDWga UmvXO40pbpoUB5lWmHksnfReW2/6YREq0ZNlHmxGsSwD545sfwrww/15Mhxcfp6/IlYU etyA==
In-reply-to: <20150629002449.GD7943@dastard>
References: <CAGqmi75jFGjWvFFT5HTwyO1tv4-d4J=aVJ83L2zqNyWMDOz1RQ@xxxxxxxxxxxxxx> <20150629002449.GD7943@dastard>
2015-06-29 3:24 GMT+03:00 Dave Chinner <david@xxxxxxxxxxxxx>:
> On Sun, Jun 28, 2015 at 09:44:20PM +0300, Timofey Titovets wrote:
>> Good time of day list,
>> i do regular check fragmentation on my servers and xfs_db show strange erros:
>>
>> # xfs_db -c frag -r /dev/sdc1
>> invalid numrecs (51914) in bmapbtd block
>
> That's expected behaviour if you are running that on a mounted
> filesystem. I'm assuming this is the case because you are telling
> xfs_db to run in read only mode...
>
> Why? Because an actively modified filesystem is only coherent on
> disk when you consider all the modifications staged in the journal,
> and xfs_db ignores the journal. Hence what it reads of disk is not
> coherent and hence is not guaranteed valid.
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@xxxxxxxxxxxxx


Big Thanks Dave for explanation.
=^_^=

-- 
Have a nice day,
Timofey.

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