LVM Version 2.0 Volume Groups in HP-UX 11i v3 (September 2008)
• Change in the display if using more than two mirrors. See “Summary List of New or Obsolete Commands
Options”.
Other Differences Between Volume Group Versions 1.0 and 2.x
Sparing not supported on 2.x volume groups
The sparing function available on 1.0 volume groups is not available on 2.x volume groups.
Boot, dump and primary swap not supported on 2.x
A 2.x volume group cannot be the root volume group nor can it contain a boot disk. As a consequence, Ignite/UX
does not allow the creation of a 2.x root volume group during a cold install and the lvrmboot and lvlnboot
commands do not apply to 2.x volume groups.
A 2.x volume group cannot be used to save crashdumps. The crashconf command displays an error if used on a
version 2.x volume group. For example:
# crashconf -s /dev/vgtest2_l2/lvol1
/dev/vgtest2_l2/lvol1: error: unsupported disk layout
warning: All dump devices may not be marked persistent
A 2.x volume cannot be used for primary swap, but can be used for secondary swap. The swapon command
displays an error if used on a version 2.x volume group. For example:
# swapon -s /dev/vgtest2_l2/rlvol1
swapon: /dev/vgtest2_l2/lvol1: Invalid argument
Bad blocks not supported on 2.x
Version 2.x volume groups do not perform bad block relocation in software because modern disks and disk arrays
handle such relocation in their own hardware.
Commands not supported on 2.x volume groups
vgmodify (1M), lvrmboot(1M), lvlnboot(1M), pvck(1M)
How to Provision a 2.x Volume Group
In the context of this document “provisioning” is the set of parameters used at the time of the volume group
creation (vgcreate).
Provisioning is defined as how the volume manager reserves space on disk for future growth. Getting the
provisioning correct is important because it is a trade off between ease of future growth and efficient disk space
usage.
15