blksize = _hp_HFS_blksize fragsize = _hp_HFS_fragsize

} else {

usage = VxFS

blksize = _hp_VxFS_blksize

}

size = 512MB remaining 25% free

_hp_root_grp_striped == "YES" { stripes = *

stripe_size = _hp_FS_stripe_size

}

}

The definition of /opt is identical to /usr. Please refer to the discussion of /usr for more information.

logical_volume { mount_point = "/opt" largefiles = true

_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

}

size = 512MB remaining 25% free

_hp_root_grp_striped == "YES" { stripes = *

stripe_size = _hp_FS_stripe_size

}

}

The definition of /var is fairly similar to the logical volume definitions we have already seen. One main difference is that for the disk layout “Logical Volume Manager (LVM) with HFS”, the inode density for HFS53 file systems has been changed because of a need for more inodes in /var. (The reason given is for the SD IPD, but if lots of files are create in /var/tmp or other places in /var, you would also need a higher inode density.)

The file system is sized so it has a minimum of 512MB and a maximum size of 512MB plus _hp_pri_swap. This provides enough space to save a crash dump. (The calculation is a best guess since you could have multiple dump spaces, but most crash dumps are only partial dumps. This assumption is not valid if you define a separate file system for /var/adm/crash.)

logical_volume { mount_point = "/var" largefiles = true

_hp_disk_layout == "Logical Volume Manager (LVM) with HFS" {

#/var needs lots of inodes due to SD's IPD nbpi = 2048

usage = HFS

53Not required for VxFS file systems since they automatically allocate new inodes as needed.

80