While reinstalling a server and moving it to Debian, I ran into the problem that I need to sync the EFI partitions. The system is using a RAID on two disks, but the EFI partitions can't be a RAID and need to exist on both disks. Or rather it is useful to have the EFI partition on every disk: if one disk fails, the system can boot from the other disk. grub only installs the necessary files on one partition. However one can use a script as grub hook, and sync all partitions. This script needs to determine if a device is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.
Posted by ads' corner on Friday, July 26, 2024
Moving my systems away from Ubuntu, I also have to reinstall a server at home. This system has two equal disks for a RAID system, and my plan is to install Debian on it. Turns out, setting up a Software RAID on Debian and booting from EFI is not a straightforward approach. This blog posting describes the steps.
Posted by ads' corner on Friday, July 19, 2024
Most of my systems run on a software RAID 1 configuration (that is, two disks, where each disk is mirrored to the other). This way, one of the disks can fail and still all the data is available.
If a disk failure happens, the disk is replaced with a similar disk, and then needs to be configured and re-added to the RAID.
Posted by ads' corner on Saturday, March 30, 2019
New server, S-ATA disks, the hardware RAID controller is not really supported. So we decided to use a software RAID 1 for the two disks.
Posted by ads' corner on Thursday, November 30, 2006