Re: Dual Root setup

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





Am 04.03.23 um 19:05 schrieb Genes Lists:
On 3/4/23 13:00, Uwe Sauter wrote:
Hi Gene,

out of curiosity: where do you see the advantages of such a setup compared to having your root filesystem on a RAID1?
,



Could be wrong, but I don't believe the <esp> is on RAID1 is it?
Dual root is dual everything - esp, root, boot, the whole lot.


The usual Linux MD-RAID can have its metadata placed on different positions in the partition (see man (8) mdadm, option "-e, --metadata").

Knowing this it is no problem to create a partition on each disk of type EF00, create a RAID1 with metadata version 1.0 (at end of partition) using those partitions and format that MD device with VFAT. Mountpoint should be /boot/efi.

Thus EFI will see two VFAT partitions with the correct type but Linux will keep the content synchronized.

There is at least one more thing to configure: /etc/mdadm.conf should include a line for this MD device. Best would be to reference the MD device by UUID.

It might be required to also configure the kernel cmdline to include options to assemble the device. But I might confuse this with RHEL (Dracut) based distributions. I think Arch's mkinitrd will use /etc/mdadm.conf when properly configured…



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux