Extending an LVM rootvg when dmp_native_support is on

If dmp_native_support is on, and an LVM root volume group (rootvg) is enabled for DMP, you can add DMP devices online to the rootvg, without rebooting the system.

To add a DMP device to a DMP-enabled rootvg

  1. List the available physical volumes. The output includes the DMP devices that are available to LVM. For example:
    # lsdev -c disk
    ...
    ibm_ds8x000_0100   Available      Veritas DMP Device
    ibm_ds8x000_017d   Available      Veritas DMP Device
    emc0_00a5          Available      Veritas DMP Device
    emc0_00a7          Available      Veritas DMP Device
  2. List the paths that are configured to be managed by DMP as a result of enabling DMP support for the volume group. You can optionally specify the volume group name using the vgname parameter.

    # vxdmpadm native list
    NAME       DMPNODENAME
    ====================================
    hdisk21    ibm_ds8x000_0100
    hdisk22    ibm_ds8x000_0100
  3. List the volume groups:
    # lspv
    hdisk1     00f617b700039215   None
    hdisk24				00f617b700039215   None
    hdisk21    00f617b7ae6f71b3   rootvg   active
    hdisk22    00f617b7ae6f71b3   rootvg   active
  4. Extend the DMP-enabled rootvg to an additional DMP device. For example:
    # extendvg rootvg ibm_ds8x000_017d
  5. Verify the subpaths of the DMP device.
    # vxdmpadm native list
    NAME       DMPNODENAME
    ====================================
    hdisk21    ibm_ds8x000_0100
    hdisk22    ibm_ds8x000_0100
    hdisk1     ibm_ds8x000_017d
    hdisk24    ibm_ds8x000_017d
  6. Release the paths to the operating system.
    # vxdmpadm native release
  7. Verify that the DMP device is added to the rootvg. For example:
    # lsvg -p rootvg
    rootvg:
    PV_NAME    PV STATE   TOTAL PPs   FREE PPs   FREE DISTRIBUTION
    hdisk21    active     73          0          00..00..00..00..00
    hdisk1     active     15          15         03..03..03..03..03
  8. Verify that the subpaths of the DMP device are added to the rootvg.
    # lspv | grep -w rootvg
    hdisk1     00f617b700039215   rootvg   active
    hdisk21    00f617b7ae6f71b3   rootvg   active
    hdisk22    00f617b7ae6f71b3   rootvg   active
    hdisk24    00f617b700039215   rootvg   active