[CentOS] Booting Software RAID

Mon Jan 27 18:33:38 UTC 2014
Adrian Sevcenco <Adrian.Sevcenco at cern.ch>

On 01/24/2014 06:58 PM, Matt wrote:
> I installed Centos 6.x 64 bit with the minimal ISO and used two disks
> in RAID 1 array.
> 
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/md2         97G  918M   91G   1% /
> tmpfs            16G     0   16G   0% /dev/shm
> /dev/md1        485M   54M  407M  12% /boot
> /dev/md3        3.4T  198M  3.2T   1% /vz
for quite some time (since 5.x era) i use
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
(with 6.x i don't even need the patch to mkinitrd)

the mbr or whatever it is is written in /dev/md_d0 .. and thats it
in bios you put both hdd to boot and if the first have a problem the
second will boot, mail you that you have a degraded raid and start
resync after you replaced the drive. (and you can do it live)

HTH,
Adrian