On 3/4/23 13:21, Uwe Sauter wrote:
The usual Linux MD-RAID can have its metadata placed on different positions in the partition (see man (8) mdadm, option "-e, --metadata").
This is intriguing for sure but to be honest it has a bit of a brittle, hacky feel to it.
My own preference is to have a clean duplicate esp partition on 1 or more of the raid disks and not depend on the efi not getting overwritten by sitting at the start of a type 1.0 metadata partition. Keep in mind too, that the default type is 1.2 not 1.0.
I understand that that doesn't provide raid support for the esp itself, so for resilience I would use dual /efi/boot approach and leave rest of root on raid. This just feels cleaner to me. And certainly more visible to any system admin.
Gene