Centos 6 software raid-1 with EFI

From vpsget wiki
Revision as of 14:16, 4 March 2015 by Ndi (talk | contribs) (Created page with "Assuming that you are creating new OS setup. If you already have the centos installed on disk1 and want to add disk2 as software raid-1 refer to the official RHEL/centos docum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Assuming that you are creating new OS setup. If you already have the centos installed on disk1 and want to add disk2 as software raid-1 refer to the official RHEL/centos documents you can find how to do it.

In centos 6 setup select to manually create volumes and create the identical by size partitions on both drives. The partition type should be "Software RAID" Leave the place (200-500 MB for the /boot/efi mount point on both disks , but select as mount point only for one) after that you be able to add raid devices [create the raid volumes] from the sda and sdb previously created partitions. So it should be something like this:

HDD   mountpoint         type    
sda  /boot/efi           EFI Boot [vfat]
sda  {part0}             Software RAID
sda                      Software RAID      
sda  {part1}             Software RAID
sdb  {same size as sda}   EFI Boot  
sdb  {size -eq sda part0} Software RAID
sdb  {size -eq sda swap}  Software RAID
sdb  {size -eq sda part1} Software RAID

Note that we have specified only 1 mountpoint for EFI boot.

While you creating each volume [raid device]  you be able to select partiotions that will be mirrored , filesystem type and mountpoint
After you add the Raid Devices and create raid partitions the next volumes should be added at the start of the list :