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

Using the vgmodify command to perform LVM Volume
Group Dynamic LUN Expansion (DLE) and Contraction
(DLC)
Abstract.............................................................................................................................................. 3
Introduction......................................................................................................................................... 4
Overview............................................................................................................................................ 4
What can vgmodify do for me? ......................................................................................................... 4
When would I want to use vgmodify?................................................................................................. 4
vgmodify for Version 1.0 volume groups ................................................................................................ 5
Increasing the range of values vgmodify provides ................................................................................ 5
Command usage ............................................................................................................................. 5
Volume group configuration changes ................................................................................................. 6
Changing disk type (boot/non-boot) and impact of boot disks ........................................................... 6
Dynamic LUN expansion (DLE) and dynamic LUN contraction (DLC) ................................................... 6
Physical extent renumbering (-n option) and pvmove enhancement ..................................................... 7
How the volume group parameter settings affect the metadata size .................................................... 8
Configuration backup files, restore script, and vgcfgrestore changes .................................................. 8
Making better use of the alternate bad block pool space................................................................... 9
Optimization of max_pv and max_pe values ................................................................................... 9
Guidance on choosing the max_pv and max_pe values .................................................................... 9
Offline vgmodify ............................................................................................................................ 10
Prerequisites .............................................................................................................................. 10
Offline vgmodify procedures........................................................................................................ 10
Online vgmodify ............................................................................................................................ 12
Prerequisites .............................................................................................................................. 12
Online vgmodify procedures........................................................................................................ 13
Common Version 1.0 examples ....................................................................................................... 14
Online DLE examples.................................................................................................................. 14
Offline DLE examples.................................................................................................................. 20
Online and offline DLC examples ................................................................................................. 24
Online and offline volume group configuration change examples..................................................... 36
LVM vgmodify Messages for Version 1.0 volume groups .................................................................... 47
vgmodify for Version 2.0 volume groups .............................................................................................. 50
Command differences between Version 1.0 and 2.x volume groups .................................................... 50
Command similarities between Version 1.0 and 2.x volume groups..................................................... 50

Summary of content (80 pages)