17.6. Advanced RAID Device Creation
In some cases, you may wish to install the operating system on an array that can't be created after the installation completes. Usually, this means setting up the
/boot
or root file system arrays on a complex RAID device; in such cases, you may need to use array options that are not supported by Anaconda. To work around this, perform the following procedure:
Procedure 17.1. Advanced RAID device creation
- Insert the install disk as you normally would.
- During the initial boot up, select Rescue mode, the user will be presented with a command line terminal.instead of or . When the system fully boots into
- From this terminal, use
parted
to create RAID partitions on the target hard drives. Then, usemdadm
to manually create raid arrays from those partitions using any and all settings and options available. For more information on how to do these, refer to Chapter 13, Partitions,man parted
, andman mdadm
. - Once the arrays are created, you can optionally create file systems on the arrays as well. Refer to Section 11.2, “Overview of Supported File Systems” for basic technical information on file systems supported by Red Hat Enterprise Linux 6.
- Reboot the computer and this time select Anaconda searches the disks in the system, it will find the pre-existing RAID devices.or to install as normal. As
- When asked about how to use the disks in the system, selectand click . In the device listing, the pre-existing MD RAID devices will be listed.
- Select a RAID device, click Anaconda will perform the install to this pre-existing RAID device, preserving the custom options you selected when you created it in Rescue Mode.and configure its mount point and (optionally) the type of file system it should use (if you did not create one earlier) then click .
Note
The limited Rescue Mode of the installer does not include
man
pages. Both the man mdadm
and man md
contain useful information for creating custom RAID arrays, and may be needed throughout the workaround. As such, it can be helpful to either have access to a machine with these man
pages present, or to print them out prior to booting into Rescue Mode and creating your custom arrays.