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

Timofey Titovets nefelim4ag at gmail.com
Sun Jun 28 19:48:10 CDT 2015


2015-06-29 3:24 GMT+03:00 Dave Chinner <david at fromorbit.com>:
> 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 at fromorbit.com


Big Thanks Dave for explanation.
=^_^=

-- 
Have a nice day,
Timofey.



More information about the xfs mailing list