On 2019/9/22 上午9:12, Kenneth Topp wrote: > after a couple unclean reboots, this filesystem became un-mountable. > btrfs check didn't help either. This should be a raid 1 metadata/raid 0 > data volume. I've had this filesystem for several years, but I think it > was after any major on disk options. > > I tend to run a current kernel. I got to 5.2.15 quickly after the > btrfs bug report, and just was switching to 5.2.17 when things died. I > still have these disks as they are, but will wipe them out tomorrow and > restore from backups unless someone has any further diagnostics they'd > like me to run. > > On a related subject, are there any tips for creating a new filesystem, > I think I used to specify "-l 16K -n 16K" during mkfs. I'll be > switching to 4kn soon, and but currently using 512e, any notes regarding > using 4kn disks? > > > here are some diagnostics: > > [toppk@static ~]$ cat btrfs-failure.txt > # btrfs filesystem show /dev/mapper/cprt-47 > Label: 'tm' uuid: 2f8c681b-1973-4fe6-a6b6-0be182944528 > Total devices 2 FS bytes used 17.16TiB > devid 1 size 9.09TiB used 8.65TiB path /dev/mapper/cprt-46 > devid 2 size 9.09TiB used 8.65TiB path /dev/mapper/cprt-47 > # btrfs check /dev/mapper/cprt-46 > Opening filesystem to check... > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 Well, this transid mismatch looks exactly the bug introduced in v5.2-rc. Kernel mount dmesg please, it would help us to determine which tree is causing the problem. But please keep in mind, we can only salvage data from the fs, not really fix it to RW mountable status. Thanks, Qu > Ignoring transid failure > ERROR: child eb corrupted: parent bytenr=7267733438464 item=33 parent > level=2 child level=0 > [root@static ~]# btrfs check -b /dev/mapper/cprt-46 > Opening filesystem to check... > parent transid verify failed on 6751304908800 wanted 2012643 found 2012294 > parent transid verify failed on 6751305105408 wanted 2012643 found 2012295 > parent transid verify failed on 6751381258240 wanted 2012643 found 2012295 > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 > parent transid verify failed on 6751397658624 wanted 2012643 found 2012295 > Ignoring transid failure > ERROR: child eb corrupted: parent bytenr=6751265570816 item=33 parent > level=2 child level=0 > ERROR: cannot open file system > [root@static ~]# uname -a > Linux static.bllue.org 5.2.17-200.fc30.x86_64 #1 SMP Sat Sep 21 16:13:27 > EDT 2019 x86_64 x86_64 x86_64 GNU/Linux > [root@static ~]# btrfs --version > btrfs-progs v5.2.1 > > > Thanks, > > Ken
Attachment:
signature.asc
Description: OpenPGP digital signature
