Skip to contentSkip to conversation

Assertion failure in btrfsck

DISCUSSION Steinar H. Gunderson 1 participant 1 message Dec 14, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I'm having a filesystem that's been a bit mangled by external causes, so I thought I'd see how much I could salvage (it's not critical, though). Thus, I pulled btrfsck from git and ran:

  pannekake:~/btrfs-progs# ./btrfsck --repair /dev/mapper/pannekake-backup-btrfs

It spit out a ton of warnings like these (I can get the whole log if you're interested):

parent transid verify failed on 7007735808 wanted 8322 found 8856 Ignoring transid failure
parent transid verify failed on 2895847424 wanted 8184 found 8818 Ignoring transid failure
parent transid verify failed on 7007735808 wanted 8322 found 8856 Ignoring transid failure
parent transid verify failed on 2895847424 wanted 8184 found 8818 Ignoring transid failure
parent transid verify failed on 7007735808 wanted 8322 found 8856 Ignoring transid failure
parent transid verify failed on 2895847424 wanted 8184 found 8818 Ignoring transid failure

and then died with

btrfsck: cmds-check.c:2212: check_owner_ref: Assertion `!(rec->is_root)' failed. Aborted

I assume this is a bug in btrfsck. :-) What more information do you need from me to be able to look at this? The filesystem is a bit too big (550GB) to transfer easily.

/* Steinar */

Signature · 1 line
Homepage: http://www.sesse.net/