How to Install CentOS 7 on RAID Partition

RAID Mirroring means an exact clone (or mirror) of the same data writing to two drives. A minimum two number of disks are more required in an array to create RAID1.

 

Requirements

To install a CentOS server you will need to download the CentOS 7.0 iso image from a mirror next to you.

The list of mirrors can be found here: http://wiki.centos.org/Download

We are going to do a minimal installation using CentOS-7.0-1406-x86_64-Minimal.iso image.

This image is to install a very basic CentOS 7 system, with the minimum of packages needed to have a functional system, everything else needs to be installed using yum. There are also images for a network installation, Live CD/DVD version and more.

Installation using RAID 1 Partition

  1. Once you are done with all the primary settings like setting the language etc, you would get to the screen where you can select the installation destination.

CentOSRAID1

2. Select the 2 disks present on the system – sda and sdb. Also select the button I will configure partitioning and then click button done.

CentOSRAID2

3. Click create them automatically.

CentOSRAID3

4. Select Device Type to be RAID and write your personal label, such as md0

CentOSRAID4

5. Similarly, you can set the Device type and labels for swap and /boot partitions as shown below.

CentOSRAID5

CentOSRAID6

If you want to add other partition, then click + on the left bottom, then enter size. Select Device Type to be RAID as well.

 

6. Then click Done to format the partition.

CentOS installation is now similar to Fedora’s one, where we have to complete all items before to be able to click on Begin Installation button.

7. Network & Hostname

Enter the hostname of the server, then click on the Configure… button to assign a static IP address.

CentOSRAID7

In the IPv4 Settings tab select Manual then click on Add button  and select static IP address, once you have done that you need to add the DNS settings

When you have completed the network settings click on Save.

CentOSRAID8

You can see now a summary with your connection details, click ‘ON’ to activate it.

CentOSRAID9

8-User settings:

We can set the root user password while the installation has started

CentOSRAID10

Root password

Enter a password for the root user and click on Done button twice,

CentOSRAID11

Done!