On 2018/10/12 下午6:35, Jürgen Herrmann wrote: > Am 12.10.2018 10:19, schrieb Qu Wenruo: > > [snip] > >> Please run the following command: >> >> # btrfs ins dump-tree --follow -b 166456229888 >> >> It could be caused by the fact that btrfs-progs --repair doesn't handle >> log tree well. >> >> If that's the case, "btrfs rescue zero-log" should help. >> >> But anyway, feel free to re-create the fs if zero-log doesn't help. >> >> Thanks, >> Qu > > First of all, thanks for your help! > > Did that: > > root@mint:/home/mint# /tmp/btrfs ins dump-tree --follow -b 166456229888 > /dev/mapper/sda3c > /tmp/btrfs-ins.txt > parent transid verify failed on 166475366400 wanted 127054 found 127060 > Ignoring transid failure > WARNING: eb corrupted: parent bytenr 166456229888 slot 22 level 2 child > bytenr 166475366400 level has 0 expect 1, skipping the slot > > The created btrfs-ins.txt is ~300MB in size, so i did not attach that > here. do you need id? then I can upload it to my owncloud and post a > link here. > > after that i tried to zero the log: > parent transid verify failed on 166475366400 wanted 127054 found 127060 > parent transid verify failed on 166475366400 wanted 127054 found 127060 > Ignoring transid failure > ERROR: child eb corrupted: parent bytenr=166456229888 item=22 parent > level=2 child level=0 > ERROR: could not open ctree > > mounting is still not possible: > [ 2726.355134] BTRFS info (device dm-0): disk space caching is enabled > [ 2726.355138] BTRFS info (device dm-0): has skinny extents > [ 2726.395638] BTRFS error (device dm-0): parent transid verify failed > on 166475366400 wanted 127054 found 127060 > [ 2726.395647] BTRFS error (device dm-0): failed to read block groups: -5
This means the extent tree is corrupted. This is not a good thing at all. Please go ahead and recreate the fs. I'm not sure how is --repair contribute to this bug in current stage. The biggest problem is, after your first --repair attempt, it doesn't report any extent tree corruption. > [ 2726.451907] BTRFS error (device dm-0): open_ctree failed > > Anything left to try? No, please go ahead to do what you need to. Thanks, Qu > > Best regards, > Jürgen
signature.asc
Description: OpenPGP digital signature