Red Hat ENTERPRISE LINUX 4 System Administration Manual page 35

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

raid (optional)
Assembles a software RAID device. This command is of the form:
raid <mntpoint> --level=<level> --device=<mddevice><partitions*>
<mntpoint>
Location where the RAID file system is mounted. If it is /, the RAID level must be 1 unless
a boot partition (/boot) is present. If a boot partition is present, the /boot partition must
be level 1 and the root (/) partition can be any of the available types. The <partitions*>
(which denotes that multiple partitions can be listed) lists the RAID identifiers to add to the
RAID array.
--level=
RAID level to use (0, 1, or 5).
--device=
Name of the RAID device to use (such as md0 or md1). RAID devices range from md0 to
md7, and each may only be used once.
--spares=
Specifies the number of spare drives allocated for the RAID array. Spare drives are used to
rebuild the array in case of drive failure.
--fstype=
Sets the file system type for the RAID array. Valid values are ext2, ext3, swap, and vfat.
--noformat
Use an existing RAID device and do not format the RAID array.
--useexisting
Use an existing RAID device and reformat it.
The following example shows how to create a RAID level 1 partition for /, and a RAID level 5 for
/usr, assuming there are three SCSI disks on the system. It also creates three swap partitions,
one on each drive.
part raid.01 --size=60 --ondisk=sda
part raid.02 --size=60 --ondisk=sdb
part raid.03 --size=60 --ondisk=sdc
part swap --size=128 --ondisk=sda
part swap --size=128 --ondisk=sdb
part swap --size=128 --ondisk=sdc
part raid.11 --size=1 --grow --ondisk=sda
part raid.12 --size=1 --grow --ondisk=sdb
part raid.13 --size=1 --grow --ondisk=sdc
raid / --level=1 --device=md0 raid.01 raid.02 raid.03
Kickstart Options
17

Advertisement

Table of Contents
loading

Table of Contents