Support root on software raid in UEFI mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[converted from a discourse RFE as after discussing this further internally, it's something that sits at the edge between feature request and bug]
Although /boot and / on mdraids pose no problem for grub, /boot/efi must be on a simple partition as UEFI firmware implementations are not expected to be able to understand anything else than FAT.
This is however effectively making UEFI and mdraid incompatible for root devices, because the loss of the "wrong" device would render the machine unbootable.
Some workarounds[0] exist, but I'm not aware of a canonical solution to this problem.
Given how legacy booting is, well, "legacy", I believe it is important to determine what the way forward for UEFI + root on sw raid should be:
1. can a safe official workaround be implemented within MAAS?
2. can a safe workaround be implemented, but should that be done by another product?
3. is it just technically impossible to support UEFI + root on sw raid?
If the conclusion were to be "3", MAAS should disallow the unsafe legacy boot + / on mdraid combination, and this bug should be closed with a clear 'won't fix' that we will be able to reference to when discussing cloud design with customers.
[0] https:/
At the moment following workaround is provided: efi-manager on baremetal machines. The charm automates process described in [1].
Install subordinate charm cs:~majduk/
[1] https:/ /outflux. net/blog/ archives/ 2018/04/ 19/uefi- booting- and-raid1/