Clemens Eisserer
2013-Sep-07 03:18 UTC
Btrfsck Assertion btrfs_find_last_root !(path->slots[0] == 0) - any hope left?
Hi, Because of being clumsy, I recently overwrote my btrfs-partition. Worse, the only recent backup I own is a dd-copy which was created while the system was running. Both, btrfsck (from btrfsprogs-next) and mount -o recovery failed - so I wonder, are there any steps left I could try? [root@localhost btrfs-progs]# ./btrfsck /dev/mapper/main parent transid verify failed on 27785830400 wanted 168295 found 168298 parent transid verify failed on 27785830400 wanted 168295 found 168298 Ignoring transid failure btrfsck: root-tree.c:46: btrfs_find_last_root: Assertion `!(path->slots[0] == 0)'' failed. Aborted mount -o recovery: [ 555.978120] device label fedora00 devid 1 transid 168295 /dev/mapper/ce [ 555.981272] btrfs: enabling auto recovery [ 555.981275] btrfs: disk space caching is enabled [ 555.981276] btrfs: has skinny extents [ 555.983736] parent transid verify failed on 27785830400 wanted 168295 found 168298 [ 555.983741] btrfs: failed to read tree root on dm-0 [ 555.984014] parent transid verify failed on 27785830400 wanted 168295 found 168298 [ 555.984017] btrfs: failed to read tree root on dm-0 [ 555.984487] parent transid verify failed on 27780313088 wanted 168294 found 168297 [ 555.984491] btrfs: failed to read tree root on dm-0 [ 555.984951] parent transid verify failed on 27763916800 wanted 168293 found 168299 [ 555.984954] btrfs: failed to read tree root on dm-0 [ 556.003065] btrfs bad tree block start 8844446699414819576 27357323264 [ 556.003080] Failed to read block groups: -5 [ 556.006211] btrfs: open_ctree failed Thank you in advance, Clemens -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Clemens Eisserer
2013-Sep-09 07:15 UTC
Re: Btrfsck Assertion btrfs_find_last_root !(path->slots[0] == 0) - any hope left?
Hi again, After I found out about btrfs restore and btrfs-find-root, I gave it a try - unfortunately without success (full log at: http://pastebin.com/B2QUxhaj ):> parent transid verify failed on 27785830400 wanted 168295 found 168298 > parent transid verify failed on 27785830400 wanted 168295 found 168298 > Ignoring transid failure > Couldn''t setup extent tree > Couldn''t read fs root: -2btrfs-find-root finds some blocks, but complains for each block about not matching generation - and restore refuses to mount that blocks. I would be really grateful for ideas how to get something back out of this broken FS ... Would it make sense to simply disable the transid checks? Thank you in advance, Clemens 2013/9/7 Clemens Eisserer <linuxhippy@gmail.com>:> Hi, > > Because of being clumsy, I recently overwrote my btrfs-partition. > Worse, the only recent backup I own is a dd-copy which was created > while the system was running. > > Both, btrfsck (from btrfsprogs-next) and mount -o recovery failed - so > I wonder, are there any steps left I could try? > > [root@localhost btrfs-progs]# ./btrfsck /dev/mapper/main > parent transid verify failed on 27785830400 wanted 168295 found 168298 > parent transid verify failed on 27785830400 wanted 168295 found 168298 > Ignoring transid failure > btrfsck: root-tree.c:46: btrfs_find_last_root: Assertion > `!(path->slots[0] == 0)'' failed. > Aborted > > mount -o recovery: > [ 555.978120] device label fedora00 devid 1 transid 168295 /dev/mapper/ce > [ 555.981272] btrfs: enabling auto recovery > [ 555.981275] btrfs: disk space caching is enabled > [ 555.981276] btrfs: has skinny extents > [ 555.983736] parent transid verify failed on 27785830400 wanted > 168295 found 168298 > [ 555.983741] btrfs: failed to read tree root on dm-0 > [ 555.984014] parent transid verify failed on 27785830400 wanted > 168295 found 168298 > [ 555.984017] btrfs: failed to read tree root on dm-0 > [ 555.984487] parent transid verify failed on 27780313088 wanted > 168294 found 168297 > [ 555.984491] btrfs: failed to read tree root on dm-0 > [ 555.984951] parent transid verify failed on 27763916800 wanted > 168293 found 168299 > [ 555.984954] btrfs: failed to read tree root on dm-0 > [ 556.003065] btrfs bad tree block start 8844446699414819576 27357323264 > [ 556.003080] Failed to read block groups: -5 > [ 556.006211] btrfs: open_ctree failed > > Thank you in advance, Clemens-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html