User's Guide
The fo
llowing test makes sure that the root disk size is at least the minimum required size for
installing an rp8400 system
65
. If the root disk is too small, an error message is presented to users
to prevent them from being able eventually to select Go! in the Ignite-UX GUI and install the system.
The only recourse is to change the disk layout or increase the size of the root disk by selecting a
new one.
(hardware_model == "9000/800/SD16K-A" & disk[_hp_root_disk].size < 16000Mb )
{
error += "This configuration does not support installing disks of
<18Gb please choose another disk to install to that is at least 18Gb in size"
}
The following test determines whether the disk layout should be changed to Custom
configuration rp8400 w/18GB disks. A similar test is done for all of the other disk layouts
that you can set.
(hardware_model == "9000/800/SD16K-A" & disk[_hp_root_disk].size >= 16000Mb &
disk[_hp_root_disk].size < 30000Mb ) {
init _hp_disk_layout = "Custom configuration rp8400 w/18Gb disks"
}
(hardware_model == "9000/800/SD16K-A" & disk[_hp_root_disk].size >= 30000Mb &
disk[_hp_root_disk].size < 60000Mb ) {
init _hp_disk_layout = "Custom configuration rp8400 w/36Gb disks"
}
(hardware_model == "9000/800/SD16K-A" & disk[_hp_root_disk].size >= 60000Mb &
disk[_hp_root_disk].size < 100000Mb ) {
init _hp_disk_layout = "Custom configuration rp8400 w/72Gb disks"
}
(hardware_model == "9000/800/SD16K-A" & disk[_hp_root_disk].size >= 100000Mb )
{
init _hp_disk_layout = "Custom configuration rp8400 w/>100Gb disks"
}
Next, you start the Custom configuration rp8400 w/18GB disks disk layout definition.
The tests that you perform inside the definition prevent anyone from misusing the defined layout for
the wrong system type and disk size. These tests reinforce the previous default selection code.
(_hp_disk_layout == "Custom configuration rp8400 w/18Gb disks") {
volume_group "vg00"
{
usage = LVM
(hardware_model != "9000/800/SD16K-A") {
error += "This disk layout is for use with a rp8400"
}
(disk[_hp_root_disk].size < 16000Mb |
disk[_hp_root_disk].size > 30000Mb ) {
error += "Disk size not between 16000Mb and 30000Mb"
}
...
65
The rp8400 is a marketing name for a system. The model string of the system is actually 9000/800/SD16K-A.
137