Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Manual page 39

Hide thumbs Also See for LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE:
Table of Contents

Advertisement

Section 1.5:Kickstart Options
raid <mntpoint> --level <level> --device
<mddevice><partitions*>
The <mntpoint> is the location where the RAID filesystem 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 <level>
RAID level to use (0, 1, or 5).
--device <mddevice>
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= N
Specifies that there should be N spare drives allocated for the RAID array. Spare drives
are used to rebuild the array in case of drive failure.
1
--fstype
Sets the filesystem type for the RAID array. Valid values are ext2, ext3, swap, and vfat.
--noformat
Do not format the RAID array.
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
raid /usr --level 5 --device md1 raid.11 raid.12 raid.13
1
1
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents