On 2019/11/5 上午8:47, Tomasz Chmielewski wrote: > On 2019-11-02 12:38, Qu Wenruo wrote: >> On 2019/11/2 上午9:13, Tomasz Chmielewski wrote: >>> I'm getting these recently from time to time (first noticed in 5.3.x, >>> but maybe they were showing up before and I didn't notice). >>> >>> Everything seems to work fine so far. Anything to worry about? >> >> This is a warning about unaligned device size. >> >> You can either fix it by reducing the device size by 4K for each device, >> or use btrfs rescue fix-dev-size unmounted to repair. > > Unfortunately "btrfs rescue fix-device-size" doesn't seem to help. I'm > still seeing these entries in dmesg some time after using the command. > > Also: > > # umount /home > > # btrfs rescue fix-device-size /dev/sdb4 > Fixed device size for devid 2, old size: 3950855921152 new size: > 3950855917568 > Fixed device size for devid 3, old size: 3950855921152 new size: > 3950855917568 > Fixed super total bytes, old size: 7901711842304 new size: 7901711835136 > Fixed unaligned/mismatched total_bytes for super block and device items So far so good. > > # btrfs rescue fix-device-size /dev/sdb4 > No device size related problem found > > # btrfs rescue fix-device-size /dev/sda4 > No device size related problem found > > # dmesg -c > > # mount /home > > > Now let's try to unmount and see what "btrfs rescue fix-device-size" > shows again - I'd expect "No device size related problem found", correct? > > > # umount /home > > # btrfs rescue fix-device-size /dev/sda4 > parent transid verify failed on 265344253952 wanted 42646 found 46119 > parent transid verify failed on 265344253952 wanted 42646 found 46119 > parent transid verify failed on 265344253952 wanted 42646 found 46119 This is not correct. What happened during your /home mount and unmount? The fs looks already screwed up. Thanks, Qu > Ignoring transid failure > Fixed super total bytes, old size: 7901711842304 new size: 7901711835136 > Fixed unaligned/mismatched total_bytes for super block and device items > > # btrfs rescue fix-device-size /dev/sda4 > No device size related problem found > > # btrfs rescue fix-device-size /dev/sdb4 > No device size related problem found > > # mount /home ; umount /home > > # btrfs rescue fix-device-size /dev/sdb4 > parent transid verify failed on 265344253952 wanted 42646 found 46119 > parent transid verify failed on 265344253952 wanted 42646 found 46119 > parent transid verify failed on 265344253952 wanted 42646 found 46119 > Ignoring transid failure > Fixed super total bytes, old size: 7901711842304 new size: 7901711835136 > Fixed unaligned/mismatched total_bytes for super block and device items > > # mount /home > > > > Tomasz Chmielewski > https://lxadm.com