Skip to contentSkip to conversation

btrfs check : extent-tree.c:283: find_search_start: Assertion `!(1)' failed

DISCUSSION Miguel Negrão 1 participant 2 messages Aug 20, 2013 – Aug 22, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I have a btrfs partition on a usb external hard drive which doesn't mount anymore. I tried doing a btrfs check on it, but it fails with the error on the subject. The btrfs progs were compiled from git today. I have a backup of this partition elsewhere, so I can restore from there if all else fails.

The output of

sudo btrfs check --repair /dev/sdc1 > ~/log/btfs-repair-1.log 2>&1

was

parent transid verify failed on 7624175616 wanted 1431 found 1428 parent transid verify failed on 7624175616 wanted 1431 found 1428 Ignoring transid failure
leaf parent key incorrect 7624175616
checking extents
parent transid verify failed on 7624175616 wanted 1431 found 1428 Ignoring transid failure

...

leaf parent key incorrect 7717249024
Unable to find block group for 0
btrfs: extent-tree.c:283: find_search_start: Assertion `!(1)' failed. enabling repair mode
Checking filesystem on /dev/sdc1
UUID: 42688de3-f4ed-4592-bb34-02c9d5014e51

best,

Signature · 2 lines
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao
#1 lore raw

Hi,

Forgot to ask the important question, is it still possible to recover this filesystem or is it doomed ?

best,
Miguel

Em 20-08-2013 18:16, Miguel Negrão escreveu:

Quoted 36 lines

Hi,

I have a btrfs partition on a usb external hard drive which doesn't mount anymore. I tried doing a btrfs check on it, but it fails with the error on the subject. The btrfs progs were compiled from git today. I have a backup of this partition elsewhere, so I can restore from there if all else fails.

The output of

sudo btrfs check --repair /dev/sdc1 > ~/log/btfs-repair-1.log 2>&1

was

parent transid verify failed on 7624175616 wanted 1431 found 1428 parent transid verify failed on 7624175616 wanted 1431 found 1428 Ignoring transid failure
leaf parent key incorrect 7624175616
checking extents
parent transid verify failed on 7624175616 wanted 1431 found 1428 Ignoring transid failure

...

leaf parent key incorrect 7717249024
Unable to find block group for 0
btrfs: extent-tree.c:283: find_search_start: Assertion `!(1)' failed. enabling repair mode
Checking filesystem on /dev/sdc1
UUID: 42688de3-f4ed-4592-bb34-02c9d5014e51

best,

Signature · 2 lines
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao