On 2021-03-02 at 09:50, Dan Ritter wrote: > The Wanderer wrote: > >> On 2021-03-02 at 07:54, Dan Ritter wrote: >> >>> You'll want to create the following partitions on each, >>> identically: >>> >>> 1 efi - type efi >>> 2 boot (or boot/root) - type MDADM volume >>> 3 root, if using separate boot - type MDADM volume >>> 4 swap - type MDADM volume >>> >>> Then you go to the mdadm setup and create MDADM RAID1 devices >>> out of each pair of boot, root and swap. >> >> Out of interest, how would you modify this for someone who intends to >> run LVM on top of the RAID-1 being defined here, and wants to define as >> many of the partitions as possible (but at least /) at the LVM level >> rather than the mdadm level? >> >> I'm guessing that the answer would be to define the EFI partition here >> directly, then define one further partition as an appropriate type, set >> up LVM inside that, and define the further partitions from there. >> >> I'm not positive that that's the correct approach, however, especially >> given that I suspect that /boot will need to be visible to GRUB and may >> thus need to be outside the LVM. > > grub can find a root in LVM, but needs /boot to be outside. > /boot in an mdadm RAID1 is a good idea there.
So, three partitions, then? 1. efi 2. /boot 3. LVM And define everything else inside the LVM. (In practice, "everything else" here will be /, /var, /tmp, and possibly swap. /home will be on a separate RAID array.) It'll still probably be interesting figuring out what to specify as the destination for the GRUB install, but if I'm lucky it might Just Work. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature