When an LVM root volume group (rootvg) is enabled for DMP, you can extend the rootvg by adding a SAN disk. If the root support is enabled with the vxdmpadm native enable command, the system must be rebooted before DMP can manage the new devices added to the LVM rootvg. In this case, the only DMP devices available to LVM are the devices in the rootvg. Therefore, you must extend the rootvg over the OS device paths. After the reboot, DMP can service the I/O to the new devices that were added to the LVM rootvg.
To add a SAN disk to a DMP-enabled rootvg
# vxdisk rm emc0_00a7
# vxdmpadm getsubpaths dmpnodename=emc0_00a7 NAME STATE[A] PATH-TYPE[M] CTLR-NAME ENCLR-TYPE ENCLR-NAME ATTRS ========================================================================= hdisk32 ENABLED(A) - fscsi0 EMC emc0 - hdisk6 ENABLED(A) - fscsi0 EMC emc0 - hdisk88 ENABLED(A) - fscsi1 EMC emc0 - hdisk99 ENABLED(A) - fscsi1 EMC emc0 -
For example:
# chdev -l hdisk32 -a pv=clear
# chdev -l hdisk6 -a pv=yes
# chdev -l hdisk88 -a pv=yes
# chdev -l hdisk99 -a pv=yes
# extendvg rootvg hdisk32
# reboot
# vxdmpadm native list PATH DMPNODENAME ============================================== hdisk143 emc0_0039 hdisk142 emc0_0039 hdisk141 emc0_0039 hdisk127 emc0_0039 hdisk32 emc0_00a7 hdisk6 emc0_00a7 hdisk88 emc0_00a7 hdisk99 emc0_00a7
# lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk143 active 73 0 00..00..00..00..00 hdisk88 active 15 15 03..03..03..03..03
# lspv | grep -w rootvg hdisk143 00c398ed00008e79 rootvg active hdisk142 00c398ed00008e79 rootvg active hdisk141 00c398ed00008e79 rootvg active hdisk127 00c398ed00008e79 rootvg active hdisk32 00c398edf9fae077 rootvg active hdisk6 00c398edf9fae077 rootvg active hdisk88 00c398edf9fae077 rootvg active hdisk99 00c398edf9fae077 rootvg active