When installing Fedora 43 from a USB, I’m noticing that it’s a new simplified installation interface, that doesn’t allow you to select a Software RAID configuration.
What’s the recommended way to create a software RAID 1 so that both disks are mirrored?
Thanks for pointing me in the right direction, everyone!
I tried to create an array with partitions, but I’m getting an error “Storage requirements not met” as you can see in my screenshot. Any idea what I’m doing wrong here?
You have placed your EFI partition (/boot/efi) inside the software RAID array. Your motherboard firmware (BIOS/UEFI), as far as I know, cannot read inside a Linux software RAID to find the boot files. It needs to see a plain, physical partition, outside of mdraid.
You need to structure the storage so the EFI partition is outside the RAID, and the RAID is built on top of partitions, not raw disks.
I think /boot can be part of the raid, just not the ESP, but you would have to check that.
Your /boot/efi will be only on the first drive. If that drive fails, the system won’t boot (even though your data is safe on the RAID). But you could create a partition on the second drive of the same size as the EFI partition and leave it unused, so you can manually copy the EFI data later for redundancy.
@stresbiz - In addition to what @augenauf said about the ESP being on a non-raid device, starting with Fedora 43, the installer wants a 2GB minimum size for /boot.
Thank you everyone for your help and replies. I tried to create the RAID for only / (root), and I’m still getting the same “Invalid RAID configuration detected” message. My latest screenshot has the configuration.
I’m just looking to simply have redundancy across two SSDs.
Your /boot partition needs to be 2GB. The EFI system partition can be less. Even 500 MB is probably overkill for the ESP, but that is what I usually configure.
I would also create duplicates of your /boot and ESP partitions on the second NVMe drive, even though they will not be mirrored. Reason being, you want to make sure your partitions for the MDRAID device are the exact same size.
If I am reading the instructions in that dialog box correctly, it looks like you can’t put a partition table on your MDRAID device since it is already on a disk with a partition table. In this screenshot you have GPT partition tables on the raw disks and one on the array.
Instead of putting a partition table on the array, you could just put a filesystem on md/raid or make md/raid a PV under LVM, then you could put the filesystem on a logical volume. This would allow you to carve up the md/raid into multiple LVs instead of one single file system that spans the entire raid device. You could name your volume group “vgraid” as an example.