RAID Mirroring means a clone of same data writing to two drives. To create RAID 1 a minimum number of disks required is two and its useful only, when read performance or reliability is more precise than the data storage capacity. Mirrors are created to protect against data loss due to disk failure. Each disk in a mirror involves an exact copy of the data. When one disk fails, the same data can be retrieved from other functioning disk. However, the failed drive can be replaced from the running computer without any user interruption.
Boot up server with two disk drive connected and functioning. Select the first install/ upgrade option
Click on Next
Select your language. In my case i select English and click next.
Select your keyboard layout and click next.
Select you storage type and click next.
Select discard data and click next
Write your hostname and click on next.
Select your time zone and click next.
Setup your root password and click next.
Select Custom layout and click on next.
Here you can notice i have two drive with 20GB each which has appear on this image below. Now click on Create and select RAID Partition and click on Create.
Create a RAID partition on both drives. (I created a 500MB Boot partition & whatever is remaining is my second partition for the CentOS install etc)
Click Create again but this time select RAID Device
make the /boot drive with follwing option set.
Again select the RAID Device and make the physical volume (LVM with remaining disk)
Once this is done we need to Create the LVM Volume Group (click create again to get this option)
Click Add & create a small volume for SWAP & then add a volume for / & /home
once everything done we can get the following output.
Click on format and then click next.
Write changes to disk
Select your OS requirement and click next.
Click next to begin installation.
Once done you will get the following screen.
Your CentOS setup is completed. Reboot your system and get started.
You can check if RAID 1 is configure or not by issuing following command.