Adding new LUNs dynamically to a new target ID

In this case, a new group of LUNs is mapped to the host via multiple HBA ports. An operating system device scan is issued for the LUNs to be recognized and added to DMP control.

The high-level procedure and the VxVm commands are generic. However, the operating system commands may vary depending on the Linux version. For example, the following procedure uses Linux Suse10.

To add new LUNs dynamically to a new target ID

  1. Identify which LUNs to add to the host. Do one of the following:

    • Use Storage Array Management to identify the Array Volume ID (AVID) for the LUNs.

    • If the array does not report the AVID, use the LUN index.

  2. Map/mask the LUNs to the new target IDs on multiple hosts.

  3. Scan the operating system device.

    Repeat step 1 and step 2 until you see that all the LUNs have been added.

  4. Use Volume Manager to perform a device scan. You must perform this operation on all nodes in a cluster. Enter one of the following commands:

    • # vxdctl enable
    • # vxdisk scandisks
  5. Verify that the LUNs were added correctly by answering the following questions:

    • Do the newly provisioned LUNs appear in the vxdisk list output?

    • Are there multiple paths for each LUN?

    If the answer to any of these questions is "No," return to step 1 and begin the procedure again.

    If the answer to all of the questions is "Yes," the LUNs have been successfully added. You can now add the LUNs to a disk group, create new volumes, or grow existing volumes.

More Information

Scanning an operating system device tree after adding or removing LUNs