HP-UX HB v13.00 Ch-13 - LVM
HP-UX Handbook – Rev 13.00 Page 99 (of 110)
Chapter 13 LVM
October 29, 2013
c0t4d0, the /etc/lvmpvg file would need to be edited so it looked like this:
# more /etc/lvmpvg
VG /dev/vg01
PVG PVG0
/dev/dsk/c1t5d0
/dev/dsk/c1t6d0
/dev/dsk/c1t3d0
/dev/dsk/c1t4d0
PVG PVG1
/dev/dsk/c0t3d0
/dev/dsk/c0t6d0
/dev/dsk/c0t5d0
/dev/dsk/c0t4d0
Now to increase the lvol, you may use the lvextend command as normal. Note that
you may substitute the names of the two PVGs for the name(s) of the physical
volumes when directing the added physical extents.
# lvextend -L 5000 /dev/vg01/lvol1 PVG0 PVG1
Note also that you may alternately specify the 4 physical volumes which were
added, in lieu of specifying the volumes by PVG name.
# lvextend -L 5000 /dev/vg01/lvol1 /dev/dsk/c1t3d0 \
/dev/dsk/c1t4d0 /dev/dsk/c0t5d0 /dev/dsk/c0t4d0
You must however use one of these methods to specify all 4 disks
simultaneously. A single disk would complain about the strict allocation
policy. You cannot turnoff this policy when striping. This prevents you from
striping to the same disk.
The following commands will help to determine your configuration:
1) lvdisplay /dev/vgxx/lvolxx shows the information over how many disks the
lvol is striped and what the stripe size it.
# lvdisplay -v /dev/vgxx/lvolxx
--- Logical volumes ---
LV Name /dev/vgxx/lvolxx
VG Name /dev/vgxx
LV Permission read/write
LV Status available/syncd