LVM Version 2.0 Volume Groups in HP-UX 11i v3 (September 2008)

Abstract
This whitepaper is an introduction to the LVM volume groups versions 2.0 and 2.1. The 2.0 volume groups
became available with the March 2008 release of HP-UX 11i v3 (11.31) and the 2.1 volume groups with the 11i
v3 2008 September release. Prior to the March 2008 release, only version 1.0 volume groups were available. In
this document, 2.x denotes both 2.0 and 2.1 volume groups.
Audience
The document is intended for system administrators, operators, and customers who want to use and know about
the LVM 2.x volume groups. It is assumed that the reader has a basic knowledge of LVM.
Introduction
LVM and MirrorDisk/UX now support 1.0 and 2.x volume groups. Version 1.0 is the version supported on all
current and previous versions of HP-UX 11i. The procedures and command syntax for managing Version 1.0
volume groups are unchanged from previous releases, except for the enhancements described in this paper.
When creating a new volume group, vgcreate defaults to Version 1.0.
What is a 2.x Volume Group?
A 2.x volume group is a volume group whose metadata layout is different from the one used for 1.0 volume
groups. A 2.x volume group extends the limits of a 1.0 volume group.
How do I use a 2.x Volume Group?
A 2.x volume group is managed the same way as a 1.0 volume group using the same user interface. This
interface is the same as in the HP-UX 11i v3 (11.31) initial release, but has been extended for 2.x version volume
groups. These additions are listed in the “LVM Changes in the March 2008 Release of HP-UX 11i v3 ” section.
What do I need to change to manage my 1.0 Volume Groups?
Nothing, unless you have scripts that parse the output of lvdisplay, vgdisplay, pvdisplay, or vgscan. The output of
these commands is slightly changed and might impact parsing. The user interface to manage the 1.0 volume
group did not change. The same LVM commands with the same options (as in HP-UX 11i v3 (11.31) initial
release) are used to handle 1.0 volume groups. There are additional options that can be used on 1.0 volume
groups.
3