Public bug reported: I created a new btrfs filesystem like the following:
sudo mkfs.btrfs -L cold_storage -f --csum xxhash /dev/sdd1 Mounting it with: sudo mount /dev/sdb1 /mnt/cold_storage Fails with the message: mount: /mnt/cold_storage: wrong fs type, bad option, bad superblock on /dev/sdd1, missing codepage or helper program, or other error. Looking at dmesg | tail I can find the following: [ 1788.813725] BTRFS error (device sdd1): unsupported checksum algorithm: 1 [ 1788.836552] BTRFS error (device sdd1): open_ctree failed The error is the same for the xxhash and sha256 checksums. Only recreating the filesystem with crc32c / omitting the --csum option entirely allows me to mount it afterwards. I tried mounting with and without compression enabled, no difference. My System: lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal uname -a Linux pentiumpower 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux btrfs version btrfs-progs v5.4.1 apt-cache policy btrfs-progs btrfs-progs: Installiert: 5.4.1-2 Installationskandidat: 5.4.1-2 Versionstabelle: *** 5.4.1-2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: btrfs-progs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1949002 Title: can only mount btrfs filesystems with standard crc32c checksum, fails with xxhash, sha256 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-progs/+bug/1949002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs