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? Once I have done that: root@hawk:~# ll /dev/mapper/ total 0 drwxr-xr-x 2 root root 220 Nov 13 20:13 ./ drwxr-xr-x 22 root root 3860 Nov 13 20:13 ../ crw------- 1 root root 10, 236 Nov 13 20:08 control lrwxrwxrwx 1 root root 7 Nov 13 20:13 encryptedRaid -> ../dm-6 lrwxrwxrwx 1 root root 7 Nov 13 20:09 hawk2017large-crc2017 -> ../dm-5 lrwxrwxrwx 1 root root 7 Nov 13 20:08 hawk--vg-home -> ../dm-3 lrwxrwxrwx 1 root root 7 Nov 13 20:13 hawk--vg--raid-crc2020 -> ../dm-7 lrwxrwxrwx 1 root root 7 Nov 13 20:08 hawk--vg-root -> ../dm-1 lrwxrwxrwx 1 root root 7 Nov 13 20:08 hawk--vg-swap_1 -> ../dm-2 lrwxrwxrwx 1 root root 7 Nov 13 20:08 sda5_crypt -> ../dm-0 lrwxrwxrwx 1 root root 7 Nov 13 20:09 sdb3_crypt -> ../dm-4 root@hawk:~# Prior to manually completing the process, encryptedRaid and hawk--vg--raid-crc2020 are absent. Also, I get the following message in syslog at boot time: udisksd[747]: Failed to load the 'mdraid' libblockdev plugin How badly do I need mdraid, and do I get it from the libblockdev-mdraid2 package? -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/