HP-UX 11i v3 LVM New Features in HP-UX 11i v3 (September 2009)

8
Starting the modification by writing to all Physical Volumes
Applying the configuration to all Physical Volumes from "/etc/lvmconf/vgtest.conf"
has been saved in
Now issuing
vgdisplay on the volume group shows the modified values (in this case the maximum physical volume)
follows:
est
"vgtest" uccessfully changed.
e /dev/vgtest
te Access read/write
atus available
255
64
1
1
V 2559
2
4
2558
10
Free PE 2548
Modification of Volume Group Settings
max_pe, max_pv,
on an existing
ing three configuration parameter set via
vgcreate:
ax_pe setting set by
vgcreate -e).
lume group can contain (max_pv setting set by vgcreate -
p
).
tting set by vgcreate -l).
The vgmodify command displays the possible volume group max_pe and max_pv settings for this volume group to
help optimize an existing volume group configuration.
For more information, see vgmodify(1M) and the LVM Volume Group Dynamic LUN expansion (DLE)/vgmodify
Completed the modification process.
New Volume Group configuration for "vgtest"
"/etc/lvmconf/vgtest.conf.old"
Volume group "vgtest" has been successfully changed.
for the volume group as
# vgchange -a y vgt
Activated volume group
sVolume group has been
# vgdisplay /dev/vgtest
VG Nam
riVG W
VG St
Max LV
Cur LV 1
1 Open LV
Max PV
Cur PV
Act PV
Max PE per P
VGDA
PE Size (Mbytes)
Total PE
Alloc PE
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
When an LVM volume group is created, several configuration parameters are set (for example,
max_lv). The new
vgmodify command enables you to change these configuration parameters
volume group, which avoids having to migrate user data.
The
vgmodify command can alter the follow
The maximum number of physical extents that can be allocated per physical volume (m
The maximum number of physical volumes that the vo
The maximum number of logical volumes that the volume group can contain (max_lv se
whitepaper.
Modification of Physical Volume Type (Boot/Non-Boot)
When initializing a physical volume for LVM, pvcreate assigns a type to it, either boot or non-boot (Note that
bootable physical volumes are not supported in Version 2.
x
volume groups).