4.5.1. Creating the RAID Partitions

4.5.1. Creating the RAID Partitions

In a typical situation, the disk drives are new or are formatted. Both drives are shown as raw devices with no partition configuration in Figure 4.1, “Two Blank Drives, Ready For Configuration”.

Two Blank Drives, Ready For Configuration

Two Blank Drives, Ready For Configuration

Figure 4.1. Two Blank Drives, Ready For Configuration

  1. In Disk Druid, choose RAID to enter the software RAID creation screen.

  2. Choose Create a software RAID partition to create a RAID partition as shown in Figure 4.2, “RAID Partition Options”. Note that no other RAID options (such as entering a mount point) are available until RAID partitions, as well as RAID devices, are created.

    RAID Partition Options

    RAID Partition Options

    Figure 4.2. RAID Partition Options

  3. A software RAID partition must be constrained to one drive. For Allowable Drives, select the drive to use for RAID. If you have multiple drives, by default all drives are selected and you must deselect the drives you do not want.

    Adding a RAID Partition

    Adding a RAID Partition

    Figure 4.3. Adding a RAID Partition

  4. Enter the size that you want the partition to be.

  5. Select Fixed Size to specify partition size. Select Fill all space up to (MB) and enter a value (in MB) to specify partition size range. Select Fill to maximum allowable size to allow maximum available space of the hard disk. Note that if you make more than one space growable, they share the available free space on the disk.

  6. Select Force to be a primary partition if you want the partition to be a primary partition. A primary partition is one of the first four partitions on the hard drive. If unselected, the partition is created as a logical partition. If other operating systems are already on the system, unselecting this option should be considered. For more information on primary versus logical/extended partitions, refer to the appendix section of the Red Hat Enterprise Linux Installation Guide.

  7. Repeat these steps to create as many partitions as you need for your partitions.

Repeat these steps to create as many partitions as needed for your RAID setup. Notice that all the partitions do not have to be RAID partitions. For example, you can configure only the /boot/ partition as a software RAID device, leaving the root partition (/), /home/, and swap as regular file systems. Figure 4.4, “RAID 1 Partitions Ready, Pre-Device and Mount Point Creation” shows successfully allocated space for the RAID 1 configuration (for /boot/), which is now ready for RAID device and mount point creation:

RAID 1 Partitions Ready, Pre-Device and Mount Point Creation

RAID 1 Partitions Ready, Pre-Device and Mount Point Creation

Figure 4.4. RAID 1 Partitions Ready, Pre-Device and Mount Point Creation


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.