[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing a debian on a raid 5



	Hi.

On Tue, Jul 09, 2019 at 08:45:47PM +0200, Erwan David wrote:
> I have a machine with 3 identical disks, thus I'd like to install it
> with a raid5 mdadm configuration.
> 
> What should I do for the /boot

You don't need a /boot to be a separate filesystem, if you're using
GRUB2. But if it is - GRUB2 can understand mdadm metadata.

> and /boot/uefi partitions ?

You're screwed here, and it's a big time. UEFI cannot understand mdadm
v1.2 now, and probably never will.
Your best bet is to try mdadm v1.0 metadata with RAID1, as it resides in
the end of the device/partition and hopefully will be ignored by UEFI.
If it fails to work - you're doomed to manually resynchronize three
separate FAT filesystems. In short, UEFI is pain.


> For them I tried to use raid1 with 3 disks configuration, evrything
> seemed to work right until the installer tried to install grub.
> 
> I got the message that grub-install dummy did not work.
> 
> What should I do for this ?

Make gpt disklabel on all three drives.
Make 3 partitions on each drive.
Assemble 2 RAID arrays on partitions, RAID1 v1.0 for the /boot/efi,
RAID5 v1.2 for the rest. Apply LVM if needed (you'll probably want swap
and a separate /home filesystem).

Don't forget to enable SCTERC on all three drives, else you risk
less-than-pleasant experience with your RAID.

Reco


Reply to: