From: Kevin <kevin@bluelavalamp.net>
To: linux-btrfs@vger.kernel.org
Subject: segfault mounting btrfs after drive failure
Date: Sun, 14 Oct 2012 12:11:30 -0400 [thread overview]
Message-ID: <20121014121130.04710db1@zee.bluelavalamp.net> (raw)
Hi everyone,
I have a btrfs filesystem that I can't mount after having a
drive failure. It's made up of 10 drives (9 now that the one has
failed). Right now I'm booting the system with the failed drive
disconnected, if I try to boot with the drive connected I get a
kernel OOPs during boot. So with only 9 drives connected here's the
make-up:
./btrfs fi sh
Label: none uuid: 07b2c489-3e9b-4a99-977d-3b877f75dc84
Total devices 9 FS bytes used 5.57TB
devid 8 size 1.82TB used 1.82TB path /dev/sdk1
devid 7 size 1.36TB used 1.36TB path /dev/sdi1
devid 10 size 1.36TB used 1.36TB path /dev/sdh1
devid 6 size 1.82TB used 1.82TB path /dev/sdg1
devid 5 size 1.82TB used 1.82TB path /dev/sdf1
devid 9 size 1.36TB used 1.36TB path /dev/sde1
devid 3 size 1.82TB used 1.82TB path /dev/sdd1
devid 2 size 1.82TB used 1.82TB path /dev/sdc1
devid 1 size 819.51GB used 819.51GB path /dev/sda3
Btrfs v0.20-rc1-37-g91d9eec
I'm pretty certain I made the filesystem with RAID1 for
metadata and data, but since I can't mount the filesystem I can't
check. Is there anyone to check and see?
If I try to mount the filesystem I get this:
mount /dev/sdd1 /mnt
Segmentation fault
www:#
Message from syslogd@www at Sun Oct 14 12:01:34 2012 ...
www kernel: Process mount (pid: 8573, ti=f35e2000 task=f355e3d0
task.ti=f35e2000)
Message from syslogd@www at Sun Oct 14 12:01:34 2012 ...
www kernel: Call Trace:
Message from syslogd@www at Sun Oct 14 12:01:34 2012 ...
www kernel: Stack:
Message from syslogd@www at Sun Oct 14 12:01:34 2012 ...
www kernel: Code: 97 8b 5d 10 8b 03 8b 53 04 c7 04 24 9c bc 5a c1 89
44 24 0c 8b 45 08 89 54 24 10 8b 55 0c 89 44 24 04 89 54 24 08 e8 0c
38 2a 00 <0f> 0b 0f 0b c7 45 18 01 00 00 00 c7 45 e4 00 00 00 00 e9
b5 fa
Message from syslogd@www at Sun Oct 14 12:01:34 2012 ...
www kernel: EIP: [<c1234d08>] __btrfs_map_block+0xa28/0xa50 SS:ESP
0068:f35e3b74
If I try to mount in degraded mode I get this:
mount -o degraded /dev/sdd1 /mnt
Segmentation fault
www:#
Message from syslogd@www at Sun Oct 14 12:04:02 2012 ...
www kernel: Process mount (pid: 4105, ti=f1608000 task=ecc43b50
task.ti=f1608000)
Message from syslogd@www at Sun Oct 14 12:04:02 2012 ...
www kernel: Stack:
Message from syslogd@www at Sun Oct 14 12:04:02 2012 ...
www kernel: Call Trace:
Message from syslogd@www at Sun Oct 14 12:04:02 2012 ...
www kernel: Code: 97 8b 5d 10 8b 03 8b 53 04 c7 04 24 9c bc 5a c1 89
44 24 0c 8b 45 08 89 54 24 10 8b 55 0c 89 44 24 04 89 54 24 08 e8 0c
38 2a 00 <0f> 0b 0f 0b c7 45 18 01 00 00 00 c7 45 e4 00 00 00 00 e9
b5 fa
Message from syslogd@www at Sun Oct 14 12:04:02 2012 ...
www kernel: EIP: [<c1234d08>] __btrfs_map_block+0xa28/0xa50 SS:ESP
0068:f1609b74
And doing an fsck on the filesystem:
btrfsck /dev/sdd1
checksum verify failed on 17592485027840 wanted E22DE269 found 58
checksum verify failed on 17592485027840 wanted E22DE269 found 58
checksum verify failed on 17592485027840 wanted E22DE269 found 58
checksum verify failed on 17592485027840 wanted E22DE269 found 58
Csum didn't match
Couldn't read tree root
Critical roots corrupted, unable to fsck the FS
Losing the data isn't the worst thing, it's mostly backup
data, but it's still 7TB of backup data that I'd like to try and
recover instead of having to copy over to a backup again. Any
suggestions on how to get this filesystem back up and running again?
Thanks,
Kevin
next reply other threads:[~2012-10-14 16:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 16:11 Kevin [this message]
2012-10-14 20:22 ` segfault mounting btrfs after drive failure Bart Noordervliet
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=20121014121130.04710db1@zee.bluelavalamp.net \
--to=kevin@bluelavalamp.net \
--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).