modprobe raid1
To load the soft raid module on boot, we can follow this steps : http://discussions.citrix.com/topic/360943-software-raid-mdadm-on-xenserver-65-unexpected-failure/?p=1855912
To build the RAID array :
mknod /dev/md1 b 9 1 mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
/dev/sdb1and
/dev/sdc1is using linux raid autodetect as the partition type. Use fdisk to create those partition.
To check the RAID building process :
cat /proc/mdstat
reference :