[Kernel-packages] [Bug 1931790] Re: Unable to mount btrfs RAID 1 filesystem after reboot - Error - device total_bytes should be at most X but found Y

2024-03-02 Thread Esko Luontola
btrfs check in btrfs-progs-5.19.1 should be able to detect and fix this. (I'm running Ubuntu 22.04.3 LTS and it has an old version, btrfs-progs v5.16.2, so that would need to be upgraded manually.) https://github.com/kdave/btrfs-progs/issues/522#issuecomment-1973892509 btrfs-progs-5.19.1

[Kernel-packages] [Bug 1931790] Re: Unable to mount btrfs RAID 1 filesystem after reboot - Error - device total_bytes should be at most X but found Y

2024-02-06 Thread Esko Luontola
TLDR: I had the "device total_bytes should be at most X but found Y" error which prevented me from mounting the btrfs filesystem. It was apparently caused by a HDD's usable disk space/partition size shrinking by about 1MB (perhaps the HDD detected bad sectors). "btrfs check" found no errors. I