Advanced Partitioning Example
319
zfcp
(optional)
Define a Fiber channel device (IBM System z).
zfcp [--devnum=
<devnum>
] [--fcplun=
<fcplun>
] [--scsiid=
<scsiid>
] [--
scsilun=
<scsilun>
] [--wwpn=
<wwpn>
]
%include
(optional)
Use the
%include
/path/to/file
command to include the contents of another file in the
kickstart file as though the contents were at the location of the
%include
command in the
kickstart file.
31.4.1. Advanced Partitioning Example
The following is a single, integrated example showing the
clearpart
,
raid
,
part
,
volgroup
, and
logvol
kickstart options in action:
clearpart drives=hda,hdc initlabel
# Raid 1 IDE config
part raid.11 size 1000 asprimary ondrive=hda
part raid.12 size 1000 asprimary ondrive=hda
part raid.13 size 2000 asprimary ondrive=hda
part raid.14 size 8000 ondrive=hda
part raid.15 size 1 grow ondrive=hda
part raid.21 size 1000 asprimary ondrive=hdc
part raid.22 size 1000 asprimary ondrive=hdc
part raid.23 size 2000 asprimary ondrive=hdc
part raid.24 size 8000 ondrive=hdc
part raid.25 size 1 grow ondrive=hdc
# You can add spares=x
raid / fstype ext3 device md0 level=RAID1 raid.11 raid.21
raid /safe fstype ext3 device md1 level=RAID1 raid.12 raid.22
raid swap fstype swap device md2 level=RAID1 raid.13 raid.23
raid /usr fstype ext3 device md3 level=RAID1 raid.14 raid.24
raid pv.01 fstype ext3 device md4 level=RAID1 raid.15 raid.25
# LVM configuration so that we can resize /var and /usr/local later
volgroup sysvg pv.01
logvol /var vgname=sysvg size=8000 name=var
logvol /var/freespace vgname=sysvg size=8000 name=freespacetouse
logvol /usr/local vgname=sysvg size=1 grow name=usrlocal
This advanced example implements LVM over RAID, as well as the ability to resize various directories
for future growth.
31.5. Package Selection
Warning —
@Everything
is not supported
You can use a kickstart file to install every available package by specifying
@Everything
or simply
*
in the
%packages
section. Red Hat does not support this type of installation.
Moreover, using a kickstart file in this way will introduce package and file conflicts onto
the installed system. Packages known to cause such problems are assigned to the
@Conflicts
group. If you specify
@Everything
in a kickstart file, be sure to exclude
@Conflicts
or the installation will fail:
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 12: ...xii ...
Страница 20: ......
Страница 30: ...12 ...
Страница 32: ...14 ...
Страница 82: ...64 ...
Страница 106: ...88 ...
Страница 122: ...104 ...
Страница 124: ...106 ...
Страница 126: ......
Страница 132: ...114 ...
Страница 168: ...150 ...
Страница 182: ...164 ...
Страница 192: ...174 ...
Страница 194: ......
Страница 236: ...218 ...
Страница 238: ...220 ...
Страница 270: ......
Страница 274: ...256 ...
Страница 278: ...260 ...
Страница 292: ...274 ...
Страница 294: ......
Страница 300: ...282 ...
Страница 304: ......
Страница 316: ...298 ...
Страница 357: ...Creating Partitions 339 Figure 32 7 Creating a Software RAID Device 4 Click OK to add the device to the list ...
Страница 370: ...352 ...
Страница 384: ...366 ...
Страница 385: ...Part VII Appendix ...
Страница 386: ......