Hi,
I set up an raid5 with btrfs on top on cryptsetup of 3 disks:
cryptsetup luksFormat /dev/sdb ...
cryptsetup luksOpen /dev/sdb sdb_cr...
mkfs.btrfs -d 5 -m 5 /dev/mapper/sdb_cr /dev/mapper/sdc_cr /dev/mapper/sdd_cr
mount /dev/mapper/sdb_cr /home
That all works fine. Umount and mount works also fine. But everytime I luksClose or reboot, I cannot mount
the raid. Dmesg says:
142.987916] BTRFS: device fsid 1c87349e-a0f1-44d6-aced-a291b89b0e09 devid 1 transid 3115 /dev/mapper/sdd_cr
142.989269] BTRFS info (device dm-1): disk space caching is enabled
142.989276] BTRFS: has skinny extents
142.991066] BTRFS: failed to read chunk tree on dm-1
143.008252] BTRFS: open_ctree failed
When I do a:
btrfs rescue zero-log /dev/mapper/sdd_cr
on every disk, everything is fine again.
I upgraded the Kernel (4.5) and the btrfs-utils(4.4.1) to the latest version on software.opensuse.org, but still the same.
Is it a bug, or am I doing something wrong
I searched on google since yesterday, but it seems, I’m the only one to have this problem.