From: Lukas Pirl <btrfs@lukas-pirl.de>
To: linux-btrfs@vger.kernel.org
Subject: corrupted RAID1: unsuccessful recovery / help needed
Date: Mon, 26 Oct 2015 19:19:50 +1300 [thread overview]
Message-ID: <562DC606.3070602@lukas-pirl.de> (raw)
TL;DR: RAID1 does not recover, I guess the interesting part in the stack
trace is:
Call Trace:
[<ffffffffc0377e60>] __del_reloc_root+0x30/0x100 [btrfs]
[<ffffffffc0377f55>] free_reloc_roots+0x25/0x40 [btrfs]
[<ffffffffc037e47e>] merge_reloc_roots+0x18e/0x240 [btrfs]
[<ffffffffc037f1f4>] btrfs_recover_relocation+0x374/0x420 [btrfs]
[<ffffffffc0328f6d>] open_ctree+0x1b7d/0x23e0 [btrfs]
[<ffffffffc02ff72e>] btrfs_mount+0x94e/0xa70 [btrfs]
[<ffffffff813bc0c5>] ? find_next_bit+0x15/0x20
[<ffffffff811f1078>] mount_fs+0x38/0x160
…
Hello list.
I'd appreciate some help for repairing a corrupted RAID1.
Setup:
* Linux 4.2.0-12, Btrfs v3.17, `btrfs fi show`:
uuid: 5be372f5-5492-4f4b-b641-c14f4ad8ae23
Total devices 6 FS bytes used 2.87TiB
devid 1 size 931.51GiB used 636.00GiB path /dev/mapper/WD-WCC4J7AFLTSZ
devid 2 size 931.51GiB used 634.03GiB path /dev/mapper/WD-WCAU45343103
devid 3 size 1.82TiB used 1.53TiB path /dev/mapper/WD-WCAVY6423276
devid 4 size 1.82TiB used 1.53TiB path /dev/mapper/WD-WCAZAF872578
devid 6 size 1.82TiB used 1.05TiB path /dev/mapper/WD-WMC4M0H3Z5UK
*** Some devices missing
* disks are dm-crypted
What happened:
* devid 5 started to die (slowly)
* added a new disk (devid 6) and tried `btrfs device delete`
* failed with kernel crashes (guess:) due to heavy IO errors
* removed devid 5 from /dev (deactivated in dm-crypt)
* tried `btrfs balance`
* interrupted multiple times due to kernel crashes
(probably due to semi-corrupted file system?)
* file system did not mount anymore after a required hard-reset
* no successful recovery so far:
if not read-only, kernel IO blocks eventually (hard-reset required)
* tried:
* `-o degraded`
-> IO freeze, kernel log: http://pastebin.com/Rzrp7XeL
* `-o degraded,recovery`
-> IO freeze, kernel log: http://pastebin.com/VemHfnuS
* `-o degraded,recovery,ro`
-> file system accessible, system stable
* going rw again does not fix the problem
I did not btrfs-zero-log so far because my oops did not look very
similar to the one in the Wiki and I did not want to risk to make
recovery harder.
Thanks,
Lukas
next reply other threads:[~2015-10-26 6:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 6:19 Lukas Pirl [this message]
2015-10-26 8:31 ` corrupted RAID1: unsuccessful recovery / help needed Duncan
2015-10-29 21:43 ` Lukas Pirl
2015-10-30 9:40 ` Duncan
2015-10-30 10:58 ` Duncan
2015-10-30 11:25 ` Hugo Mills
2015-10-30 15:03 ` Austin S Hemmelgarn
2015-11-08 2:59 ` Lukas Pirl
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=562DC606.3070602@lukas-pirl.de \
--to=btrfs@lukas-pirl.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.