Resizing a RAID volume group

On systems that use a redundant array of independent disks (RAID), chvg and chpv command options provide the ability to add a disk to the RAID group and grow the size of the physical volume that LVM uses without interruptions to the use or availability of the system.

Note:
  1. This feature is not available while the volume group is activated in classic or in enhanced concurrent mode.
  2. The rootvg volume group cannot be resized using the following procedure.
  3. A volume group with an active paging space cannot be resized using the following procedure.

The size of all disks in a volume group is automatically examined when the volume group is activated (varyon). If growth is detected, the system generates an informational message.

The following procedure describes how to grow disks in a RAID environment:

  1. To check for disk growth and resize if needed, type the following command:
    chvg -g VGname
    Where VGname is the name of your volume group. This command examines all disks in the volume group. If any have grown in size, it attempts to add physical partitions to the physical volume. If necessary, it will determine the appropriate 1016 limit multiplier and convert the volume group to a big volume group.
  2. To turn off LVM bad block relocation for the volume group, type the following command:
    chvg -b ny VGname
    Where VGname is the name of your volume group.