How to manage EFI (esp) in RAID setup?
by slac from LinuxQuestions.org on (#5C5QM)
The Slackware's docs about RAID at: http://slackware.uk/slackware/slackw...EADME_RAID.TXT do not mention how to manage EFI (esp) in RAID setup or along (of) it.
EFI/UEFI and I need to know the correct way of managing this partition in a RAID setup (along of it).
I have read from somewhere else that is not good to put ESP in a RAID setup but it can be done (raid1) if changes to ESP are never going to be made out of the GNU/Linux system.
Since I, sometimes, make changes to ESP out of Slackware, I am not going to set ESP as a RAID.
I am going to set up 3 devices as raid1 and raid5. RAID1 for boot and RAID5 for root. Still... I need to know if there is certain cares that one should take about the ESP, since even if the ESP will not be a RAID, it still is going to be in three different devices: /dev/sda1, /dev/sda2, /dev/sda3.
If certain changes are made to grub configuration, sometimes is necessary to re-install grub and I were not using EFI/GPT but BIOS/GPT one could re-install grub to one BIOS Boot Partition or three of them but if is EFI then installing to the three of them is required otherwise grub will enter into rescue mode after rebooting. Since only one ESP is mounted at /efi or /boot/efi, I just re-install grub to that mounted ESP and then use:
Code:dd if=/dev/sda1 of=/dev/sdb1 bs=1M status=progress
dd if=/dev/sda1 of=/dev/sdc1 bs=1M status=progress... And doing so fixes grub, or avoids the problem from above (depending if one forgets about it or not).
Is that the correct way to do it?


EFI/UEFI and I need to know the correct way of managing this partition in a RAID setup (along of it).
I have read from somewhere else that is not good to put ESP in a RAID setup but it can be done (raid1) if changes to ESP are never going to be made out of the GNU/Linux system.
Since I, sometimes, make changes to ESP out of Slackware, I am not going to set ESP as a RAID.
I am going to set up 3 devices as raid1 and raid5. RAID1 for boot and RAID5 for root. Still... I need to know if there is certain cares that one should take about the ESP, since even if the ESP will not be a RAID, it still is going to be in three different devices: /dev/sda1, /dev/sda2, /dev/sda3.
If certain changes are made to grub configuration, sometimes is necessary to re-install grub and I were not using EFI/GPT but BIOS/GPT one could re-install grub to one BIOS Boot Partition or three of them but if is EFI then installing to the three of them is required otherwise grub will enter into rescue mode after rebooting. Since only one ESP is mounted at /efi or /boot/efi, I just re-install grub to that mounted ESP and then use:
Code:dd if=/dev/sda1 of=/dev/sdb1 bs=1M status=progress
dd if=/dev/sda1 of=/dev/sdc1 bs=1M status=progress... And doing so fixes grub, or avoids the problem from above (depending if one forgets about it or not).
Is that the correct way to do it?