fai and software RAID

Albrecht Frank abfrankffm at web.de
Sat Jun 1 10:09:44 CEST 2002


Yak Mandango wrote:
> I want to install a set of systems using software RAID1 with fai.   The RAID-ing method I've been using, for single dual-drive system installations needs a reboot, and then has an indefinite delay before completion.
> 
> I can write a script to detect when the delay ends (by parsing /proc/mdstat).  However, in the documentation, I don't see a ready method for integrating reboots into the fai process.
> 
> So, I'm considering how to properly integrate these steps.  I imagine that I might have fai set the system up to reboot, and run some additional rc's.  Those rc's would take the system from boot, complete the RAID installation, and then remove themselves from the boot process.
> 
> Does this process fit with fai's method?  Has anyone else used fai to install RAID'ed systems, or other systems that require rebooting during the installation process?

Hallo there,
as I've understood the process of fai, after the installation
process you'll have to reboot to get the installed system running.
You may set up cron jobs @reboot or rc's but you can't use
anything of fai which you didn't set up in the installation
process.

I managed to set up an yp server at the first reboot with
a cron job and delete the appropriate file in /etc/cron.d at
the end of the set up process.

Greetings
Albrecht



More information about the linux-fai mailing list