From: "Niccolò Belli" <darkbasic@linuxsystems.it>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Unmountable / uncheckable Fedora 34 btrfs: failed to read block groups: -5 open_ctree failed
Date: Sun, 12 Sep 2021 07:41:28 -0400 [thread overview]
Message-ID: <7163096f475d3c31d7513c22277ad00f@linuxsystems.it> (raw)
In-Reply-To: <22ac9237-68dd-5bc3-71e1-6a4a32427852@gmx.com>
Il 2021-09-12 07:14 Qu Wenruo ha scritto:
> No, it's already in the upstream, in v5.11.
>
> Just a different name, "rescue=ibadroots" or "rescue=ignorebadroots".
> And it get enhanced to handle the exact case you're hitting, in v5.14.
>
>
> So please try first using "rescue=ibadroots" (need to be mounted with
> RO), then check your fs.
$ sudo mount -o ro,rescue=ibadroots /dev/nvme0n1p6 /mnt/
mount: /mnt: wrong fs type, bad option, bad superblock on
/dev/nvme0n1p6, missing codepage or helper program, or other error.
$ btrfs --version
btrfs-progs v5.14
$ uname -a
Linux localhost-live 5.14.0-60.fc35.x86_64 #1 SMP Mon Aug 30 16:45:32
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[10496.832659] BTRFS info (device nvme0n1p6): ignoring bad roots
[10496.832663] BTRFS info (device nvme0n1p6): disk space caching is
enabled
[10496.832664] BTRFS info (device nvme0n1p6): has skinny extents
[10496.845607] BTRFS warning (device nvme0n1p6): checksum verify failed
on 21348679680 wanted 0xd05bf9be found 0x2874489b level 1
[10496.845616] BTRFS error (device nvme0n1p6): failed to read block
groups: -5
[10496.846085] BTRFS error (device nvme0n1p6): open_ctree failed
Before doing so I restored a previous dd copy of the partition since you
said that chunk-recover could have been somewhat dangerous.
next prev parent reply other threads:[~2021-09-12 11:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-12 10:27 Unmountable / uncheckable Fedora 34 btrfs: failed to read block groups: -5 open_ctree failed Niccolò Belli
2021-09-12 10:44 ` Niccolò Belli
2021-09-12 10:46 ` Niccolò Belli
2021-09-12 11:14 ` Qu Wenruo
2021-09-12 11:41 ` Niccolò Belli [this message]
2021-09-12 13:35 ` Qu Wenruo
2021-09-12 15:51 ` Niccolò Belli
2021-09-13 14:50 ` Zygo Blaxell
2021-09-13 20:40 ` Niccolò Belli
2021-09-12 21:23 ` Niccolò Belli
2021-09-12 23:55 ` Qu Wenruo
2021-09-13 7:16 ` Niccolò Belli
2021-09-13 8:05 ` Qu Wenruo
2021-09-13 11:58 ` Niccolò Belli
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=7163096f475d3c31d7513c22277ad00f@linuxsystems.it \
--to=darkbasic@linuxsystems.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo.btrfs@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox