Failed to mount cryptsetup + btrfs stripe (raid 0) on boot
My setup is one luks encrypted disk on top of two btrfs raid disk, I need to manually mount my disk on boot with the following but I just can’t mount the ${KOPT_root} that I have specified during boot or else it will show “Mount (device…): Invalid argument”:
mount -t btrfs -o compress=lzo,subvol=alpine /dev/sda2 /sysroot
It can be be reproduced with arch’s mkinitcpio (without udev) as well. Just note that I can mount the disk anyway I want just other than ${KOPT_root}.
Some useful information:
https://transfer.sh/fVsjJ/blkid
https://transfer.sh/YpQ63/lsblk
(from redmine: issue id 6903, created on 2017-02-21, closed on 2018-09-11)