User's Guide
In a c
ustom configuration, it might be better to scale both max_physical_extents and
physical_extent_size based upon the disk size.
#
# As disk size increases the root group VGRA meta-data area
# will outgrow it's bounds and trigger an IUX sanity check
# error. So for root disks large enough, set the physical
# extent size. Note that this only handles the root disk, but
# any disk in the root VG could trigger the error...
# For consistency with previous releases these disk sizes
# are specified in MB.
#
#
(disk[_hp_root_disk].size > 21504MB) # (about 23GBDISK)
{
physical_extent_size=8
}
(disk[_hp_root_disk].size > 44032MB) # (about 46GBDISK)
{
physical_extent_size=16
}
(disk[_hp_root_disk].size > 84992MB) # (about 89GBDISK)
{
physical_extent_size=32
}
(disk[_hp_root_disk].size > 179200MB) # (about 188GBDISK)
{
physical_extent_size=64
}
We start with our first definition of a logical volume. (We don’t define names for the logical
volumes here, so they take the default names applicable to the relevant volume manager.) The
logical volume has a mount point of “/” (so it is the root file system), and only one disk layout is
defined as HFS (other disk layouts are VxFS file systems). Because this is the root file system, we
must set contiguous allocation to true and bad block relocation to false. Note the size change: the
root file system has a default size of 1GB now. Before Ignite-UX version C.7.0, HP-UX 11i v2 only
required a minimum of 200MB.
logical_volume {
mount_point = "/"
_hp_disk_layout == "Logical Volume Manager (LVM) with HFS" {
usage = HFS
blksize = _hp_HFS_blksize
fragsize = _hp_HFS_fragsize
} else {
usage = VxFS
blksize = _hp_VxFS_blksize
}
contiguous_allocation = true
bad_block_relocate = false
"Create separate volumes (/usr, /var, ...)" {
size = 1GB
} else {
size = remaining | 1GB + _hp_pri_swap
}
}
77