HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)

l
lvmpvg(4) lvmpvg(4)
NAME
lvmpvg - LVM physical volume group information file
SYNOPSIS
/etc/lvmpvg
DESCRIPTION
lvmpvg is an ASCII file that stores the volume-group information for all of the physical volume groups in
the system. The information is stored in a hierarchical format.
First, it starts with a volume group under which multiple physical volume groups can exist. Under each
physical volume group, a list of physical volumes can be specified. There must be at least one physical
volume group in each volume group that appears in this file. The physical-volume-group name must be
unique within the corresponding volume group, although it is permissible to use a common physical
volume group name across different volume groups. There can be as many volume groups in this file as
there are in the system.
Instead of using the
vgcreate and vgextend commands, the administrator can edit this file to create
and extend physical volume groups. However, care must be taken to ensure that all physical volumes to
be included in the file have already been defined in their respective volume groups by previous use of
vgcreate or vgextend.
The
lvmpvg file format has the following structure. VG and PVG are keywords that introduce the names
of the volume group and physical volume group , respectively. No comments are allowed in this file.
VG vg_name
PVG pvg_name
pv_path
...
PVG pvg_name
pv_path
...
VG vg_name
PVG pvg_name
pv_path
...
The variables are defined as follows:
pv_path The block device path name of a physical volume within the volume group.
pvg_name The name of the physical volume group. It must be unique within the volume
group.
vg_name The path name of the volume group.
EXAMPLES
The following example shows an
lvmpvg file containing two volume groups: the first containing two phy-
sical volume groups, each with two physical volumes defined in it; the second containing three physical
volume groups, each with one physical volume defined in it.
VG /dev/vg00
PVG PVG0
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
PVG PVG1
/dev/dsk/c3t0d0
/dev/dsk/c3t1d0
VG /dev/vg01
PVG PVG0
/dev/dsk/c4t0d0
PVG PVG1
/dev/dsk/c5t0d0
PVG PVG2
/dev/dsk/c6t0d0
HP-UX 11i Version 2: August 2003 1 Hewlett-Packard Company Section 4171