Btrfs check - Errors - short read

I have errors on my /home partition which is an encrypted BTRFS.

After running btrfs check /dev/mapper/cr_home

the most common error I am seeing is a short read.

How do I go about repair this? All of the online documentation warns against btrfs check --repair because it might further damage the file system.

These leaves wishing I’d never used btrfs. I certainly won’t be using it again on the next install.

Would you mind to provide complete terminal output via https://paste.opensuse.org/ so that potential helpers may be able to see what you see? Your provided informations does not provide sufficient data…

@leoplaw what snapshot are you on? The 20230414 one downgrades some of the btrfs programs (6.2.2 → 6.1.3).

On all my machines I converted all partitions and merged them into single partitions of btrfs. To my experience btrfs is unbreakable. I failed to break any of the converted systems. Suggestions on how to break btrfs are welcome.

Any file system can get damaged beyond repair. Users of any file system may backup their data and check for a working restore.

Being clueless and running btrfs check --repair is indeed a bad idea. You may want to save your data, delete the existing btrfs file system and create a new one, btrfs of course. Repairing the existing file system requires some forensics. From the above quote I presume you are more into bashing btrfs.

To my experience they tinkered with btrfs bash completion. Version 6.2.2 was broken and thus retreated:

3400G:~ # zypper se -is btrfs
Loading repository data...
Reading installed packages...

S  | Name                       | Type    | Version   | Arch   | Repository
---+----------------------------+---------+-----------+--------+------------------------
i  | btrfsmaintenance           | package | 0.5-2.11  | noarch | openSUSE-Tumbleweed-Oss
i+ | btrfsprogs                 | package | 6.1.3-4.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | btrfsprogs-bash-completion | package | 6.1.3-4.1 | x86_64 | openSUSE-Tumbleweed-Oss
i  | btrfsprogs-udev-rules      | package | 6.1.3-4.1 | noarch | openSUSE-Tumbleweed-Oss
i  | libbd_btrfs2               | package | 2.28-1.3  | x86_64 | openSUSE-Tumbleweed-Oss
i  | libbtrfs0                  | package | 6.1.3-4.1 | x86_64 | openSUSE-Tumbleweed-Oss
i  | libbtrfsutil1              | package | 6.1.3-4.1 | x86_64 | openSUSE-Tumbleweed-Oss
i  | libudisks2-0_btrfs         | package | 2.9.4-6.2 | x86_64 | openSUSE-Tumbleweed-Oss
3400G:~ #