Reducing the native rootvg that is enabled for DMP

When a native root volume group (rootvg) is enabled for DMP, and contains multiple SAN disks, you can reduce the rootvg. Use this procedure to remove a SAN disk from a rootvg that includes multiple SAN disks. This procedure can be done online, without requiring a reboot.

To remove a SAN disk from a DMP-enabled rootvg

  1. View the rootvg configuration. If the configuration contains multiple SAN disks, you can remove one.
    # lsvg -p rootvg
    PV_NAME      PV STATE    TOTAL PPs  FREE PPs  FREE DISTRIBUTION
    hdisk1       active      73         8         00..00..00..00..08
    hdisk21      active      15         15        03..03..03..03..03
    # lspv | grep -w rootvg
    hdisk1        00c398edf9fae077     rootvg     active
    hdisk21       00c398ed00008e79     rootvg     active
    hdisk22       00c398ed00008e79     rootvg     active
    hdisk24       00c398edf9fae077     rootvg     active
  2. Run the following comand to acquire the PVIDs from the operating system:
    # vxdmpadm native acquire
  3. The lspv output now displays the DMP node names, instead of the device paths:
    # lspv | grep -w rootvg
    emc0_0039      00c398ed00008e79     rootvg     active
    emc0_00a7      00c398edf9fae077     rootvg     active
  4. Remove the SAN disk from the DMP-enabled rootvg. If the physical volume has allocated partitions, you must move or delete the partitions before you remove the SAN disk.
    # reducevg rootvg emc0_00a7
  5. Verify that the DMP device is removed from the DMP rootvg configuration. For example:
    # lsvg -p rootvg
    PV_NAME      PV STATE    TOTAL PPs  FREE PPs  FREE DISTRIBUTION
    emc0_0039    active      73         8         00..00..00..00..08
    # lspv | grep -w rootvg
    emc0_0039     00c398ed00008e79     rootvg     active
  6. Run the following comand to release the PVIDs to the operating system:
    # vxdmpadm native release
  7. The lspv output now displays the device paths:
    # lspv | grep -w rootvg
    hdisk22      00c398ed00008e79     rootvg     active
    hdisk21      00c398ed00008e79     rootvg     active