From: Ross Vandegrift <ross@kallisti.us>
To: linux-btrfs@vger.kernel.org
Subject: csum errors on negative root id?
Date: Wed, 16 Dec 2020 11:28:08 -0800 [thread overview]
Message-ID: <20201216192808.lodnlgbdxefayn2c@vanvanmojo.kallisti.us> (raw)
Hello,
I recently saw these in my dmesg, on 4.19.160:
BTRFS warning (device dm-20): csum failed root -9 ino 1303 off 0 csum 0x47abffd5 expected csum 0xd5f0d335 mirror 1
BTRFS warning (device dm-20): csum failed root -9 ino 1303 off 0 csum 0x47abffd5 expected csum 0xd5f0d335 mirror 1
I'm confused by a few things here:
- does the negative root id mean something, or is this a bug?
- inode 1303 doesn't seem to exist.
- This is a standalone drive, is this about a dup metadata block?
Details on the fs:
$ sudo btrfs fi show /mnt/storage
Label: none uuid: 6a2038fb-a9b4-4720-a441-c084610e4295
Total devices 1 FS bytes used 4.66TiB
devid 1 size 7.28TiB used 5.72TiB path /dev/mapper/storage
$ sudo btrfs fi df /mnt/storage
Data, single: total=4.68TiB, used=4.66TiB
System, DUP: total=32.00MiB, used=768.00KiB
Metadata, DUP: total=536.45GiB, used=4.95GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
$ sudo btrfs inspect-internal subvolid-resolve -- -9 /mnt/storage
ERROR: -9: negative value is invalid.
$ sudo btrfs inspect-internal inode-resolve 1303 /mnt/storage
ERROR: ino paths ioctl: No such file or directory
Please keep me CCed, thanks!
Ross
next reply other threads:[~2020-12-16 19:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 19:28 Ross Vandegrift [this message]
2020-12-17 1:38 ` csum errors on negative root id? Qu Wenruo
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=20201216192808.lodnlgbdxefayn2c@vanvanmojo.kallisti.us \
--to=ross@kallisti.us \
--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