Hi,
I'm having issues to mount my 2 NVMe SSDs with BTRFS. Issue started after installing following updates:
linux-image-6.12.12+bpo-arm64 6.12.12-1~bpo12+1
linux-image-arm64 6.12.12-1~bpo12+1
openmediavault 7.7.1-2
After restart, volumes are not mounted automatically and when mounting them manually via ssh session it is throwing error:
[ 218.147744] BTRFS: device fsid 7933c290-399b-4863-94b9-48dbd4f3ec47 devid 1 transid 5514 /dev/vdb (254:16) scanned by mount (40
[ 218.148206] BTRFS info (device vdb): first mount of filesystem 7933c290-399b-4863-94b9-48dbd4f3ec47
[ 218.148228] BTRFS info (device vdb): using crc32c (crc32c-generic) checksum algorithm
[ 218.148234] BTRFS error (device vdb): sectorsize 16384 not yet supported for page size 4096
[ 218.149115] BTRFS error (device vdb): superblock contains fatal errors
[ 218.149912] BTRFS error (device vdb): open_ctree failed
I feel like issue is related to kernel upgrade, where older kernel was using 16k pagesize and BTRFS filesystem was created using that kernel, so it defaulted to btrfs sector size of 16k. And now new kernel that was installed as part of last patch is having 4k pagesize:
# getconf PAGESIZE
4096
#
I will try to downgrade kernel to see if that would help, and if this is an issue then it would be nice to warn users before doing this upgrade or configure OMV to create btrfs filesystem with 4k sector size that is supposed to work with any kernel pagesize, so next time Debian kernel changes their size this issue wont happen.