You are not logged in.

#1 2011-03-07 17:10:43

SNix
Member
Registered: 2010-07-25
Posts: 6

Btrfs mount fails after power failure

Hello everyone!
I'm hoping someone can help me save some important personal files. After a strange power failure yesterday (voltage dropped from 230 to 40V) I can't mount my storage.

What I've tried:

cryptsetup luksOpen /dev/etherd/e0.1 xellos8tib

This step works fine. But after that I get this:

mount /dev/mapper/xellos8tib /home/snix/Xellos
mount: wrong fs type, bad option, bad superblock on /dev/mapper/xellos8tib,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Then

dmesg | tail
btrfs bad tree block start 9057752897035855649 1209453043712
btrfs bad tree block start 13993224894159572068 1209453043712
btrfs: failed to read tree root on dm-0
btrfs: open_ctree failed
device fsid 4d456655d479d5e1-e79921868c77c5bf devid 1 transid 157328 /dev/mapper/xellos8tib
btrfs bad tree block start 9057752897035855649 1209453043712
btrfs bad tree block start 9057752897035855649 1209453043712
btrfs bad tree block start 13993224894159572068 1209453043712
btrfs: failed to read tree root on dm-0
btrfs: open_ctree failed

and

btrfsck /dev/mapper/xellos8tib 
btrfsck: disk-io.c:739: open_ctree_fd: Assertion `!(!tree_root->node)' failed.
Aborted

Have tried searching for a solution but have so far failed to find anything helpful (at least to my limited understanding). Any ideas? Or is my data doomed? sad

Offline

#2 2011-03-07 23:04:32

scorpyn
Member
From: Sweden
Registered: 2008-01-29
Posts: 66

Re: Btrfs mount fails after power failure

Since the main problem with btrfs atm is that there isn't a version of fsck that can fix errors, your best bet would (imo) be to simply wait for such a version.

Offline

#3 2011-03-08 14:03:26

SNix
Member
Registered: 2010-07-25
Posts: 6

Re: Btrfs mount fails after power failure

I guess I'll have to do that. Got about 5.2TiB of data on that array. Lots of photos and videos from travels, writings, old school work (I save everything I produce), ideas, e-mail going back over 10 years. Used btrfs because I have better experiences with it than I have with ext4 when it comes to sudden power outages. That was apparently a bad choice. This sucks sad

Anyway, thanks for your time and sorry for the whining ^^
If anyone else has a solution I'll keep an eye on this thread. Hopefully I wont have to wait too long for fsck to start working.

Offline

Board footer

Powered by FluxBB