Does it recover automatically? csum failed root -9 ino 261 off 458928128 csum 0x12f4019f expected csum 0x8bc10ca8 mirror 1
Hello,
I don't quite understand, why my disk is almost full. Thus, I ran btdu.
This showed me 50GiB as ERROR:
--- INFO: /<SINGLE>/<DATA>/<ERROR>/logical ino/ENOENT --------------------------------------------------------------------------------------------------------
...
--- Explanation:
Not an actual error - btrfs simply reports that there is nothing at the random sample location that btdu picked.
This most likely represents allocated but unused space, which could be reduced by running a balance on the DATA block group.
Note that even though this node is categorized as an error in btdu's hierarchy, it does not actually indicate a problem with the filesystem.
So, I ran a balance
btrfs balance start -dusage=35 ./
this stopped with an error.
ERROR: error during balancing './': Input/output error
Dmesg showed me:
[Sa Mär 11 17:53:23 2023] BTRFS info (device sda3): relocating block group 254498832384 flags data
[Sa Mär 11 17:53:24 2023] BTRFS warning (device sda3): csum failed root -9 ino 261 off 458928128 csum 0x12f4019f expected csum 0x8bc10ca8 mirror 1 [Sa Mär 11 17:53:24 2023] BTRFS error (device sda3): bdev /dev/sda3 errs: wr 0, rd 0, flush 0, corrupt 61, gen 0
[Sa Mär 11 17:53:24 2023] BTRFS warning (device sda3): csum failed root -9 ino 261 off 458928128 csum 0x12f4019f expected csum 0x8bc10ca8 mirror 1 [Sa Mär 11 17:53:24 2023] BTRFS error (device sda3): bdev /dev/sda3 errs: wr 0, rd 0, flush 0, corrupt 62, gen 0
[Sa Mär 11 17:53:25 2023] BTRFS info (device sda3): balance: ended with status: -5
So, there was some corruption on drive level, I suppose.
Does btrfs recover from this on its own? Or should I run a scrub?
Best regards,
Hendrik