User's Guide
"Logical Volume Manager (LVM) with HFS",
"Logical Volume Manager (LVM) with VxFS",
"VERITAS Volume Manager (VxVM) with VxFS"
}
}
# convert strings for backwards compatibility
(_hp_disk_layout == "Whole disk (not LVM) with VxFS")
{
_hp_disk_layout = "Whole disk with VxFS"
}
(_hp_disk_layout == "VxVM with VxFS")
{
_hp_disk_layout = "VERITAS Volume Manager (VxVM) with VxFS"
}
Here the variable _hp_disk_root is set to the value of _hp_primary_path, assuming that the
device _hp_primary_path points to exists and _hp_root_disk does not already have a
value. An Extended Regular Expression (ERE)
42
is used to see if _hp_root_disk is set to any
value
43
.
#######################################################################
# Set the default root disk to the current primary path.
# The _hp_primary_path will be "" if it was set to a
# non-existent dev. Do not change the root disk variable
# if it's already set. The '~' operator is used instead
# of '==' to deal with the variable not yet being defined.
#
(_hp_primary_path != "" & !(_hp_root_disk ~ ".*"))
{
init _hp_root_disk = _hp_primary_path
}
The definition of swap has changed significantly in this release-specific configuration file in order to
deal better with two issues – large memory configurations and large disk luns. Systems containing
very large memory configurations and very large disk luns (or JBODs) should be commonplace with
HP-UX B.11.31, so the definition of primary swap takes both of these factors into consideration.
#######################################################################
# Default (recommended) swap size for very small memory systems is
# two times memory. Swap size needs to be reduced if available disk
# space is limited. As system memory space increases it may or may
# not be necessary to increase swap size. Some systems may run using
# only system memory and little additional swap space. For some system
# application loads additional swap space may be needed. By default
# little additional swap space is added for large memory systems.
#
# Note that the swap size should be a multiple of 64MB to avoid a UI
# adjustment warning.
42
For more information regarding EREs, refer to regexp(5).
43
The ERE ".*" means zero or more of any character so it matches a zero length string.
69