From: Dave Chinner <david@fromorbit.com>
To: Timofey Titovets <nefelim4ag@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Q: xfs_db: invalid numrecs (*) in bmapbtd block
Date: Mon, 29 Jun 2015 10:24:49 +1000 [thread overview]
Message-ID: <20150629002449.GD7943@dastard> (raw)
In-Reply-To: <CAGqmi75jFGjWvFFT5HTwyO1tv4-d4J=aVJ83L2zqNyWMDOz1RQ@mail.gmail.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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2015-06-29 0:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-28 18:44 Q: xfs_db: invalid numrecs (*) in bmapbtd block Timofey Titovets
2015-06-28 22:12 ` Eric Sandeen
2015-06-28 22:29 ` Timofey Titovets
2015-06-29 1:17 ` Eric Sandeen
2015-06-29 0:24 ` Dave Chinner [this message]
2015-06-29 0:48 ` Timofey Titovets
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150629002449.GD7943@dastard \
--to=david@fromorbit.com \
--cc=nefelim4ag@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.