[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID installation at boot questions



On 11/14/2020 4:23 AM, Charles Curley wrote:
I've added RAID and two new hard drives to my desktop. The RAID appears
to work, once it is up and running. Alas, on boot it is not being
properly set up. Everything else comes up correctly.

I have two new four terabyte drives set aside for RAID. They are
partitioned, with one partition on each, and the two partitions
combined in a RAID1 array. So far so good.

On top of the RAID1 array is an encrypted device. This is where booting
seems to break down. I do not get the device files related to the
encrypted layer in /dev/mapped.

On top of the encrypted layer is an LVM2 physical volume (PV). Within
that is one logical volume, with an ext4 file system on it.

I see messages in syslog for the two drives originally in the system,
sda and sdb. However, I don't see any for the two new drives, sdc and
sdd. E.g:

systemd[1]: Started Cryptography Setup for sdb3_crypt.

I can manually complete the process after the system has booted:

cryptsetup luksOpen /dev/md0 encryptedRaid
mount /dev/mapper/hawk--vg--raid-crc2020

What do I do to automate that?




Is your '/etc/crypttab' file properly populated?

--
John Doe


Reply to: