From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Pieter P <pieter.p.dev@outlook.com>, linux-btrfs@vger.kernel.org
Subject: Re: Errors found in extent allocation tree (single bit flipped)
Date: Wed, 21 Aug 2024 08:25:17 +0930 [thread overview]
Message-ID: <a60d90ae-a8df-492b-adaa-35fc8724ff83@gmx.com> (raw)
In-Reply-To: <AS8P250MB0886FC6ADE47901FBD009A6D8F8D2@AS8P250MB0886.EURP250.PROD.OUTLOOK.COM>
在 2024/8/20 23:31, Pieter P 写道:
> On 12/08/2024 16:57, Pieter P wrote:
>> Can this problem be fixed by running btrfs check --repair from a live
>> USB? (I'm using Ubuntu 22.04 with btrfs-progs v5.16.2).
>
> Turns out, the answer is no :(
> I tried this on (a copy of) a backup image of the corrupt file system,
> and btrfs check --repair simply failed in step [2/7].
The corruption is not in extent tree, but seemingly inside the subvolume
tree.
And in that case, "btrfs check --mode=lowmem" output may help a little
more, and the same for "btrfs check --repair --mode=lowmem".
>
> 1. What should my next move be? How can I fix my file system?
If above lowmem mode still doesn't work, I can craft a tool for your
specific corruption if really needed.
But that will need the dump of your subvolume 257 inode 50058751.
> 2. Or if that's not possible, how to figure out which files may be
> lost/corrupt when copying everything to a fresh btrfs partition?
Subvolume 257, inode 50058751.
> 3. When creating a new file system, can I somehow "clone" the subvolumes
> on my current file system (e.g. @ and @home, and the dozens of
> subvolumes created by Docker)?
Btrfs send should still be fine, except subvolume 257.
Thanks,
Qu
>
> Thanks,
> Pieter
>
>
next prev parent reply other threads:[~2024-08-20 22:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 14:57 Errors found in extent allocation tree (single bit flipped) Pieter P
2024-08-20 14:01 ` Pieter P
2024-08-20 22:55 ` Qu Wenruo [this message]
2024-08-20 23:02 ` Qu Wenruo
2024-08-26 23:04 ` Pieter P
2024-08-26 23:18 ` Qu Wenruo
2024-08-27 0:47 ` Pieter P
2024-08-27 5:19 ` Qu Wenruo
2024-08-27 6:51 ` Qu Wenruo
2024-08-27 9:33 ` Qu Wenruo
2024-08-28 8:49 ` Pieter P
2024-08-28 9:06 ` 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=a60d90ae-a8df-492b-adaa-35fc8724ff83@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=pieter.p.dev@outlook.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