Two more strange things: # btrfs check -r 930086912 /dev/mapper/sdd Opening filesystem to check... parent transid verify failed on 930086912 wanted 4514 found 4076 parent transid verify failed on 930086912 wanted 4514 found 4076 parent transid verify failed on 930086912 wanted 4514 found 4076 parent transid verify failed on 930086912 wanted 4514 found 4076 Ignoring transid failure Checking filesystem on /dev/mapper/sdd UUID: f5adc913-bbea-4340-8b5f-3411e2cda642 [1/7] checking root items parent transid verify failed on 713084665856 wanted 3425 found 4333 parent transid verify failed on 713084665856 wanted 3425 found 4333 parent transid verify failed on 713084665856 wanted 3425 found 4333 parent transid verify failed on 713084665856 wanted 3425 found 4333 Ignoring transid failure parent transid verify failed on 713050619904 wanted 3461 found 4404 parent transid verify failed on 713050619904 wanted 3461 found 4404 parent transid verify failed on 713050619904 wanted 3461 found 4404 parent transid verify failed on 713050619904 wanted 3461 found 4404 Ignoring transid failure ERROR: child eb corrupted: parent bytenr=672006144 item=178 parent level=1 child level=1 ERROR: failed to repair root items: Input/output error #
dmesg most recent messages are four hours ago, nothing at the time of this input/output error. Mar 01 16:19:24 fnuc.local kernel: BTRFS info (device dm-2): disk space caching is enabled Mar 01 16:19:24 fnuc.local kernel: BTRFS info (device dm-2): has skinny extents And next, why are backup 1 and backup 3 the same except for the gen for tree, extent, and csum roots? The addresses are all the same. How is that COW? backup 1: backup_tree_root: 930086912 gen: 4076 level: 1 backup_chunk_root: 822549151744 gen: 3823 level: 1 backup 3: backup_tree_root: 930086912 gen: 4074 level: 1 backup_chunk_root: 822549151744 gen: 3823 level: 1 When I go inspect that address, it's of course generation 4076. So this backup 3 slot is actually invalid, it's already been overwritten. Anyway, if you need more than just the extent tree, I need a hint on how to sanitize file names. I tried looking through the archives, I thought you posted a sed trick to do that with debug-tree but I can't find it. And I know you don't like btrfs-image -s or -ss. --- Chris Murphy