[CentOS] Centos 6 / Kickstart Using degraded mdadm RAID1

Sun Jun 10 13:50:46 UTC 2012
Stephen Harris <lists at spuddy.org>

On Sun, Jun 10, 2012 at 09:34:16PM +0800, Emmanuel Noobadmin wrote:
> Based on some reading, it seems that I should be able to use kickstart
> with the PRE scripts to do this. However, after trying for a couple of
> hours, it doesn't seem that anaconda will allow it, it just boots the
> created arrays. At best I end up with a list of softraid partitions
> instead.

> Am I trying the impossible or has anybody done this before and can
> point to a resource how on this can be done?

Can you do what you want via the GUI installer?  Potentially by dropping
into a shell to do parts of it (eg build the raid array degreaded,
then use the GUI to install onto that).  If so, manually do an install
and then look at /root/anaconda-ks.cfg to see what file that built out.
It might provide the hints you need.

-- 

rgds
Stephen