From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: bill gates <framingnoone@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: Updated to new kernel, and btrfs suddenly refuses to mount home directory fs.
Date: Wed, 9 Mar 2022 07:48:28 +0800 [thread overview]
Message-ID: <7a4962a0-b007-59a4-282e-8912b2425c5e@gmx.com> (raw)
In-Reply-To: <CALPV6DsfOQHyQ2=+3pKF3ZfavL21fgthQS+=HStEfMQbhZU50g@mail.gmail.com>
On 2022/3/9 03:05, bill gates wrote:
> So, I recently attempted to upgrade from Linux kernel 4.19.82 to
> 5.15.23, and I'm getting a critical error in dmesg about a corrupt
> leaf (and no mounting of /home allowed with the options I'm aware of)
>
> [ 396.218964] BTRFS critical (device sda2): corrupt leaf: root=1
> block=10442806968320 sl
> ot=8 ino=6, invalid location key objectid: has 1 expect 6 or [256,
> 18446744073709551360]
> or 18446744073709551604
Please provide the following output:
# btrfs ins dump-tree -b 10442806968320 /dev/sda2
The error message means, we got a DIR_ITEM in root tree.
Normally that is used to indicate what default subvolume is.
Thus it's normally 6 or 5, or any valid subvolume id.
But in your case, it's 1, thus tree-checker is rejecting your root tree.
I didn't thought we could have 1 as default subvolume (as 1 is the root
tree, which is not a subvolume).
But it looks like we should update btrfs check to fix this case.
Is the fs created using older btrfs-progs? I guess that may be the cause...
Thanks,
Qu
> [ 396.218967] BTRFS error (device sda2): block=10442806968320 read
> time tree block corru
> ption detected
>
>
> Interestingly. that 18446... number is a power of 2, looks like maybe
> a bit flip? dmesg, uname, etc included in pastebin below. "btrfs
> check" found no problems with fs on either kernel version. Would like
> to figure out how to fix this, if possible.
>
> https://pastebin.com/0ESPU9Z6
>
> Thank you for any assistance,
> -- Laurence Michaels.
next prev parent reply other threads:[~2022-03-09 1:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 19:05 Updated to new kernel, and btrfs suddenly refuses to mount home directory fs bill gates
2022-03-08 21:45 ` Chris Murphy
2022-03-08 23:48 ` Qu Wenruo [this message]
2022-03-09 1:09 ` bill gates
2022-03-09 3:00 ` Qu Wenruo
[not found] ` <CALPV6DvuD5Tn_mepbVPcWkbNA-s9Nj-jc1dsY8Cm5KOrYfbu0Q@mail.gmail.com>
2022-03-09 4:33 ` Fwd: " bill gates
[not found] ` <8120882e-d5ce-d8d8-fc5a-1a9b2e3eb39a@gmx.com>
2022-03-09 5:21 ` bill gates
2022-03-09 6:56 ` Qu Wenruo
2022-03-09 7:28 ` bill gates
2022-03-09 7:35 ` 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=7a4962a0-b007-59a4-282e-8912b2425c5e@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=framingnoone@gmail.com \
--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