Determining the VDisk name from the device identifier on the host

You can use the command-line interface (CLI) to determine the virtual disk (VDisk) name from the device identifier on the host.

Each VDisk that is exported by the SAN Volume Controller is assigned a unique device identifier. The device identifier uniquely identifies the VDisk and can be used to determine which VDisk corresponds to the volume that the host sees.

Perform the following steps to determine the VDisk name from the device identifier:

  1. Find the device identifier. For example, if you are using the subsystem device driver (SDD), the disk identifier is referred to as the virtual path (vpath) number. You can issue the following SDD command to find the vpath serial number:
    datapath query device

    For other multipathing drivers, refer to the documentation that is provided with your multipathing driver to determine the device identifier.

  2. Find the host object that is defined to the SAN Volume Controller and corresponds with the host that you are working with.
    1. Find the worldwide port numbers (WWPNs) by looking at the device definitions that are stored by your operating system. For example, on AIX® the WWPNs are in the ODM and if you use Windows® you have to go into the HBA Bios.
    2. Verify which host object is defined to the SAN Volume Controller for which these ports belong. The ports are stored as part of the detailed view, so you must list each host by issuing the following CLI command:
      svcinfo lshost id | name

      Where name/id is the name or ID of the host.

    3. Check for matching WWPNs.
  3. Issue the following command to list the VDisk-to-host mappings:
    svcinfo lshostvdiskmap hostname

    Where hostname is the name of the host.

  4. Find the VDisk UID that matches the device identifier and record the VDisk name or ID.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.