How to set up an LVM RAID 1 volume with LUKS encryption
Channel: Emilio Fahr
Date: 07/07/2020

In this video I guide the viewer through the creation of an LVM RAID 1 volume with LUKS encryption. In my example, I'm creating a volume to be the mount point  for my /home directory. If you do the same and you already have a lot of data in your /home directory, I recommend booting from a live USB, mounting your old drive, and clearing the data off the drive so that you can make use of the space on it. The steps to do this are not covered in this video.



Add this to /etc/crypttab:

luks-name /dev/disk/by-uuid/your-uuid-here /path/to/keyfile luks 



Add this to /etc/fstab: 

/path/to/logicalvolume /mountpoint ext4 defaults,x-systemd.device-timeout=0 1 2


For further reading on the subject, see: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_logical_volumes/index