From: Daniel Dawson <danielcdawson@gmail.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: corrupt leaf, unexpected item end, unmountable
Date: Thu, 18 Feb 2021 17:10:15 -0800 [thread overview]
Message-ID: <80058635-0bd9-05cc-2f5e-b4986a065be3@gmail.com> (raw)
In-Reply-To: <CAJCQCtQGyHJjPwmKxwxCBptfeb0jgdgyEXF=qvGf-1HBDvX1=w@mail.gmail.com>
On 2/18/21 3:57 PM, Chris Murphy wrote:
> metadata raid6 as well?
Yes.
> What replacement command(s) are you using?
For this drive, it was "btrfs replace start -r 3 /dev/sda3 /"
> What device is devid 3?
It would normally be sdc3. I'll address the confusion below.
> 16315=0x3fbb, 16283=0x3f9b, 16315^16283 = 32 or 0x20
> 11111110111011
> 11111110011011
> ^
>
> Do a RAM test for as long as you can tolerate it, or it finds the
> defect. Sometimes they show up quickly, other times days.
I didn't think of a flipped bit. Thanks.
>> devid 0 size 457.64GiB used 39.53GiB path /dev/sdc3
>> devid 1 size 457.64GiB used 39.56GiB path /dev/sda3
>> devid 2 size 457.64GiB used 39.56GiB path /dev/sdb3
>> devid 4 size 457.64GiB used 39.53GiB path /dev/sdd3
>
> This is confusing. devid 3 is claimed to be missing, but fi show isn't
> showing any missing devices. If none of sd[abcd] are devid 3, then
> what dev node is devid 3 and where is it?
It looks to me like btrfs is temporarily assigning devid 0 to the new
device being used as a replacement. That is what I observed before; once
the replace operation was complete, it went back to the normal number.
Since the replacement didn't finish this time, sdc3 is still devid 0.
> But yeah you're probably best off not trying to fix this file system
> until the memory is sorted out.
Right. I'll get on that soon and see if anything pops up. Thanks for the
help so far.
next prev parent reply other threads:[~2021-02-19 1:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 2:41 corrupt leaf, unexpected item end, unmountable Daniel Dawson
2021-02-18 23:57 ` Chris Murphy
2021-02-19 1:10 ` Daniel Dawson [this message]
2021-02-19 5:03 ` Chris Murphy
2021-02-19 15:02 ` Daniel Dawson
2021-02-19 15:03 ` Daniel Dawson
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=80058635-0bd9-05cc-2f5e-b4986a065be3@gmail.com \
--to=danielcdawson@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;
as well as URLs for NNTP newsgroup(s).