From: Christoph Anton Mitterer <calestyo@scientia.org>
To: linux-btrfs@vger.kernel.org
Subject: progs: differing "found N bytes used" for original/lowmem mode
Date: Mon, 31 Oct 2022 18:20:34 +0100 [thread overview]
Message-ID: <f3a163c460b436ba4da1991540e49f39036830d5.camel@scientia.org> (raw)
Hey.
This is with kernel 6.0.5 and progs 6.0.
When btrfs-checking the same fs (without it being mounted in between)
with --mode=original and lowmem, I get differing values for the "found
N bytes used, no error found" line.
The fs in question was created with the same kernel/progs and filled
with some 600GB.
I vaguely remember that this used to be the case in the past but was
resolved eventually as a bug(?).
# btrfs check --mode lowmem /dev/mapper/newfujitsu ; echo $?
Opening filesystem to check...
Checking filesystem on /dev/mapper/newfujitsu
UUID: 3c1b32b6-5940-11ed-b447-53dfc28b8b9e
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs done with fs roots in lowmem mode, skipping
[7/7] checking quota groups skipped (not enabled on this FS)
found 581442859008 bytes used, no error found
total csum bytes: 566096284
total tree bytes: 1760264192
total fs tree bytes: 1012596736
total extent tree bytes: 71417856
btree space waste bytes: 253635124
file data blocks allocated: 629161189376
referenced 600678027264
0
# btrfs check /dev/mapper/newfujitsu ; echo $?
Opening filesystem to check...
Checking filesystem on /dev/mapper/newfujitsu
UUID: 3c1b32b6-5940-11ed-b447-53dfc28b8b9e
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 581442187264 bytes used, no error found
total csum bytes: 566096284
total tree bytes: 1760264192
total fs tree bytes: 1012596736
total extent tree bytes: 71417856
btree space waste bytes: 253635124
file data blocks allocated: 629161189376
referenced 600678027264
0
Just in case someone is interested in having a look at this.
Thanks,
Chris.
reply other threads:[~2022-10-31 17:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=f3a163c460b436ba4da1991540e49f39036830d5.camel@scientia.org \
--to=calestyo@scientia.org \
--cc=linux-btrfs@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).