HP-UX HB v13.00 Ch-13 - LVM
HP-UX Handbook – Rev 13.00 Page 101 (of 110)
Chapter 13 LVM
October 29, 2013
Example:
# vgcreate -s 8 /dev/vgxx /dev/dsk/c1t0d0
Note: The file system data will be lost when recreating the volume group.
Backup and restore any data you already have on the volume group's
file systems.
4. PROBLEM - lvextend -l 20 /dev/vg_test/lvol2 lvextend: Not enough free physical
extents availabe, at mirrored logical volumes, parts of PVGs
When Physical Volume Groups are available and there is a mirror created, make sure,
Physical Volume Groups of both parts of the mirror, are given:
# lvextend -l 20 /dev/vg_test/lvol2 ABC ABC – PVG Name
lvextend: Not enough free physical extents available. Only one PVG is given in the
command line, and the error appears
Logical volume "/dev/vg_test/lvol2" could not be extended.
Failure possibly caused by PVG-Strict allocation policy.
# lvextend -l 20 /dev/vg_test/lvol2 ABC XYZ ABC XYZ – PVG Names
Logical volume "/dev/vg_test/lvol2" has been successfully extended.
Volume Group configuration for /dev/vg_test has been saved in
/etc/lvmconf/vg_test.conf
The same issue is resaulted after adding the physical volumes paths.
5. PROBLEM – When extending logical volume on a mirrored physical volume groups
with lvextend, a cross mirror could appear
In order to escape cross mirroring when extending a logical volume on a mirrored
physical volume group, make sure following steps are executed:
1. Allocation policy is set to PVG-Strict
Note: If Allocation policy is set to non-strict, cross-mirroring appears:
Example:
# lvdisplay -v /dev/vg01/lvol2
--- Logical volumes ---
LV Name /dev/vg01/lvol2
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 1