RAID1 and drive encryption
- 1 month 3 weeks ago
I'd like to use btrfs raid1 https://btrfs.wiki.kernel.org/index.php/UseCases#How_do_I_create_a_RAID1_mirror_in_Btrfs.3F and dm-crypt/LUKS encryption https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system
I found this in the wiki:
Your /boot partition should either not be on RAID, or else be on a RAID1 array, with no further layers of encryption or LVM. (Alpine's default bootloader extlinux can't handle either. Grub2 can handle /boot being on LVM.)
Google drops me only alpine+btrfs+raid1 and alpine+dmcrypt, but no both. So I guess there is no tutorial, or it is not possible to do this with some kind of workaround, probably with GRUB? I am just curious whether somebody managed to do it, or whether in theory it is possible?