when installing RHEL-8.10 from rhel-8.10-x86_64-dvd.iso in the partition scheme I choose encrypt my data. And for all the partitions I have checked as encrypt such as /home and /var and / and however many else.... here at installation time.... when the system boots I am prompted [once] to enter this one LUKS password to continue booting where all those LUKS2 encrypted partitions are then automatically unlocked and mounted. All this configuration and however it is done is taken care of by the RHEL installer.
In /etc/fstab you can identify the recognize the LUKS2 syntax of all those partitions on the one disk I have installed RHEL-8.10 on.
I have a second disk, after RHEL installation, that I have formatted as XFS and it shows up as /dev/sdb1 and is mounted as /scratch.
How do I
- encrypt this
/dev/sdb1partition? - have it automatically unlock and mount at boot time using the same LUKS password I used at RHEL installation time for all the system partitions?