Hello Thomas,

On the topic of FAI installs on RAIDed devices, is configuring RAID onto whole-disk devices now supported?

For example, our typical simple server is installed on a RAID1 mirror (/dev/md0) which sits on top of two unpartitioned devices /dev/sda and /dev/sdb. The partitions on the RAID device show up as /dev/md0p1, /dev/md0p2, etc.

This way, if a drive fails there is no preparation for the replacement drive necessary (partitioning), and since grub is installed onto the other device, it gets automatically synced by md.

We now use a custom hook to create this for us, but we'd like to move away from that and use built-in FAI functionality.

We also have more complicated set-ups, like a RAID10 device with near offset and two copies onto 6 disks (/dev/sda .. /dev/sdf). Two of those disks end up with a chunk containing the boot-loader at the start of the disk and are set as the boot devices. The same benefits to ease of replacement apply.

Thanks for any input!
iordan iordanov



On 10/29/13 17:07, Thomas Lange wrote:
On Tue, 29 Oct 2013 21:52:25 +0100, Thomas Lange 
<[email protected]> said:


     > I've added two lines to GRUB_PC/10-setup:

     > faiserver[.../scripts/GRUB_PC]> 
~/fai-4.1/examples/simple/scripts/GRUB_PC/
     > 15,17d14
     > < # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606035
     > < GROOT=$(echo $GROOT | sed 's:md/:md:g')
     > <

I've just read the git log. This minor patch is not needed any more in
wheezy. That's why these lines were removed on Sep 8th. I guess you
still have them in your script.

Antwort per Email an