Adding new LUNs dynamically to a target ID

Dynamic Multi-Pathing (DMP) provides a Dynamic Reconfiguration tool to simplify the addition of new LUNs to a new or existing target ID. One or more new LUNs are mapped to the host by way of multiple HBA ports. An operating system device scan is issued for the LUNs to be recognized and added to DMP control.

Warning:

Do not run any device discovery operations outside of the Dynamic Reconfiguration tool until the device operation is completed.

In a cluster, perform the steps on all the nodes in the cluster.

To add new LUNs dynamically to a target ID

  1. Start the vxdiskadm utility:
    # vxdiskadm
  2. Select the Dynamic Reconfiguration operations option from the vxdiskadm menu.
  3. Select the Add LUNs option.
  4. When the prompt displays, add the LUNs from the array/target.
  5. Select y to continue to add the LUNs to DMP.

    DMP updates the operating system device tree and the VxVM device tree. The newly-discovered devices are now visible.

    Luns Added
    ---------------------------------------------------------------
    Enclosure=emc0 AVID=017E
       Device=emc0_017e Serial=830017E000
         PATH=c15t0d6 ctlr=c15 port=7e-a [50:01:43:80:12:08:3c:26]
         PATH=c17t0d6 ctlr=c17 port=7e-a [50:01:43:80:12:08:3a:76]
  6. Select exit to exit the Dynamic Reconfiguration tool.