Software RAID

 

Software RAID

 

Software RAID Configuration

Read Chapter 3 Redundant Array of Independent Disks (RAID) first to learn about RAID, the differences between Hardware and Software RAID, and the differences between RAID 0, 1, and 5.

Software RAID can be configured during the graphical installation of Red Hat Linux or during a kickstart installation. This chapter discusses how to configure software RAID during installation, using the Disk Druid interface.

Before you can create a RAID device, first create RAID partitions, using the following step-by-step instructions:

  1. On the Disk Partitioning Setup screen, select Manually partition with Disk Druid.

  2. In Disk Druid, choose New to create a new partition.

  3. You will not be able to enter a mount point (you will be able to do that once you have created your RAID device).

  4. Choose software RAID from the File System Type pulldown menu.

    Creating a New RAID Partition

  5. For Allowable Drives, select the drive(s) on which RAID will be created. If you have multiple drives, all drives will be selected here and deselect those drives which will not have the RAID array on them.

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

  7. Select Fixed size to make the partition the specified size, select

    Fill all space up to (MB)

    and enter a size in MBs to give range for the partition size, or select Fill to maximum allowable size to make it grow to fill all available space on the hard disk. If you make more than one partition growable, they will share the available free space on the disk.

  8. Select Force to be a primary partition if you want the partition to be a primary partition.

  9. Select Check for bad blocks if you want the installation program to check for bad blocks on the hard drive before formatting it.

  10. Click OK to return to the main screen.

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 /home partition as a software RAID device.

Once you have all of your partitions created as software RAID partitions, follow these steps:

  1. Select the RAID button on the

    Disk Druid

    main partitioning screen (see Figure 10-3).

  2. Next, Figure 10-2 will appear, where you can make a RAID device.

    Making a RAID Device

  3. Enter a mount point.

  4. Choose the file system type for the partition.

  5. Select a device name such as md0 for the RAID device.

  6. Choose your RAID level. You can choose from RAID 0, RAID 1, and RAID 5.

    If you are making a RAID partition of /boot, choose RAID level 1, and it must use one of the first two drives IDE(first, SCSI second). If you are not creating a RAID partition of /boot, and you are making a RAID partition of /, it must be RAID level 1 and it must use one of the first two drives IDE(first, SCSI second).

  7. The RAID partitions you just created appear in the RAID Members list. Select which partitions of these partitions should be used to create the RAID device.

  8. If configuring RAID 1 or RAID 5, specify the number of spare partitions. If a software RAID partition fails, the spare will automatically be used as a replacement. For each spare you want to specify, create an additional software RAID partition (in addition to the partitions for the RAID device). In the previous step, select the partitions for the RAID device and the partition(s) for the spare(s).

  9. After clicking OK, the RAID device will appear in the Drive Summary list At this point, you can continue with your installation process.

RAID Array Created



 

Home