On 2020/1/5 上午1:07, Christian Wimmer wrote: > Hi guys, > > I run again in a problem with my btrfs files system. > I start wondering if this filesystem type is right for my needs. > Could you please help me in recovering my 12TB partition? > > What happened? > -> This time I was just rebooting normally my virtual machine. I discovered during the past days that the system hangs for some seconds so I thought it would be a good idea to reboot my SUSE Linux after 14 days of working. The machine powered off normally but when starting it run into messages like the pasted ones. > > I immediately powered off again and started my Arch Linux where I have btrfs-progs version 5.4 installed. > I tried one of the commands that you gave me in the past (restore) and I got following messages: > > > btrfs-progs-5.4]# ./btrfs restore -l /dev/sdb1 > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > checksum verify failed on 3181912915968 found 00000071 wanted 00000066 > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > bad tree block 3181912915968, bytenr mismatch, want=3181912915968, have=4908658797358025935 All these tree blocks are garbage. This doesn't look good at all. The weird found csum pattern make no sense at all. Are you using fstrim or discard mount option? If so, there could be some old bug causing the problem. SUSE Kernel version please. Thanks, Qu > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > checksum verify failed on 2688520683520 found 000000EE wanted FFFFFFEB > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > bad tree block 2688520683520, bytenr mismatch, want=2688520683520, have=10123237912294 > Could not open root, trying backup super > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > checksum verify failed on 3181912915968 found 00000071 wanted 00000066 > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > bad tree block 3181912915968, bytenr mismatch, want=3181912915968, have=4908658797358025935 > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > checksum verify failed on 2688520683520 found 000000EE wanted FFFFFFEB > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > bad tree block 2688520683520, bytenr mismatch, want=2688520683520, have=10123237912294 > Could not open root, trying backup super > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > checksum verify failed on 3181912915968 found 00000071 wanted 00000066 > checksum verify failed on 3181912915968 found 000000A9 wanted 00000064 > bad tree block 3181912915968, bytenr mismatch, want=3181912915968, have=4908658797358025935 > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > checksum verify failed on 2688520683520 found 000000EE wanted FFFFFFEB > checksum verify failed on 2688520683520 found 000000D5 wanted FFFFFFA9 > bad tree block 2688520683520, bytenr mismatch, want=2688520683520, have=10123237912294 > Could not open root, trying backup super > btrfs-progs-5.4]# > > > > What can I do now to recover files? > > Please help me. > > Thanks, > > Chris > >