LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC) (September 2009)

28
Proactive Polling On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg01/lvol1 14000 14000
--- Physical extents ---
PE Status LV LE
00000 current /dev/vg01/lvol1 00000
00001 current /dev/vg01/lvol1 00001
00002 current /dev/vg01/lvol1 00002
00003 current /dev/vg01/lvol1 00003
00004 current /dev/vg01/lvol1 00004
00005 current /dev/vg01/lvol1 00005
*Entries deleted for brevity*
13996 current /dev/vg01/lvol1 13996
13997 current /dev/vg01/lvol1 13997
13998 current /dev/vg01/lvol1 13998
13999 current /dev/vg01/lvol1 13999
14000 free 00000
14001 free 00000
14002 free 00000
*Entries deleted for brevity*
17496 free 00000
17497 free 00000
17498 free 00000
17499 free 00000
17500 free 00000
# pvdisplay /dev/dsk/c4t1d0
--- Physical volumes ---
PV Name /dev/dsk/c4t1d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 17501
Free PE 17501
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On
# diskinfo /dev/rdsk/c4t2d0
SCSI describe of /dev/rdsk/c4t2d0:
vendor: HP 73.4G
product id: ST373405FC
type: direct access
size: 71687369 Kbytes
bytes per sector: 512
2. Run the vgmodify command with the –C option in review mode to determine if you can
reduce the physical volume size to 50 GB. Note: You can run review mode with and without
the –a option. The -a option indicates that the vgmodify command can be run when the
volume group is active (online vgmodify).
# vgmodify -r -C 51200 vg01 /dev/rdsk/c4t2d0 # offline mode
or