| United States-English |
|
|
|
![]() |
A6826A Fibre Channel Mass Storage Adapter Installation Guide: HP-UX & OpenVMS Networking > Chapter 1 Fibre Channel Adapter Installation for HP-UXInterpreting Lunpath Hardware Paths (HP-UX 11i v3) |
|
Lunpath hardware paths are a new representation of hardware paths introduced on HP-UX 11i v3, as part of the new agile representation of mass storage devices. For more details, please refer to the Next Generation Mass Storage Stack HP-UX 11i v3 white paper at http://docs.hp.com/en/netsys.html#Storage%20Area%20Management . This section describes how to interpret address elements in lunpath hardware paths. It also shows how to map between the legacy hardware path and lunpath hardware path formats. The lunpath hardware path has three parts:
The following table provides four examples: Table 1-4 Title not available (Components of Lunpath Hardware Paths)
The target address for a Fibre Channel device is the target port’s worldwide port name (WWPN). The fcmsutil command with the get remote option displays the WWPN as the Target Port World Wide Name. In this example, the WWPN is 0x500805f300083899:
The LUN address for a Fibre Channel device is a 64-bit LUNid. The LUNid is composed of two bits representing the addressing method, fourteen bits representing the LUN number of the device, and 48 reserved bits, as shown in the table: Table 1-5 Title not available (Fibre Channel)
Since the LUN address is printed in hexadecimal, the first hexadecimal digit contains both the addressing method and the start of the LUN number. For example, the first 16 bits of the LUN address 0x400f000000000000 is binary 0100000000001111. The leading 01 is theaddressing method (Flat Space Addressing ) and the remaining bits represent the LUN number (15). Thus, the LUN address 0x400f000000000000 represents LUN number 15, using the Flat Space Addressing method. You can easily perform this decoding by using the scsimgr command to display the LUN’s lunid attribute. For example:
The legacy hardware path format for Fibre Channel disks encodes the target port identifier and LUN id as virtual hardware elements. It has the following format: HBA_path.domain.area.port.controller.target.lun The domain represents the Fibre Channel switch, the area is the specific port on the Fibre Channel switch into which the target is plugged. The domain, area, and port values are extracted from the target port identifier as shown in the table:
The controller, target, and lun values are extracted from the LUN id as shown in the table:
To convert a lunpath hardware path to a legacy hardware path, use the scsimgr get_info command on the target’s hardware path to display the port_id, which contains the domain, area, and port values. Extract the controller, target, and lun values from the LUN id. The following example uses lunpath hardware path 0/2/1/0.0x500805f300083899.0x4011000000000000:
A port_id of 0x10700 yields a domain value of 1, an area value of 7, and a port value of 0. The LUN address of 0x4011000000000000, which represents LUN id 0x11, yields a controller value of 0, a target value of 2 and a lun value of 1. The resultant legacy hardware path is 0/2/1/0.1.7.0.0.2.1. To confirm this mapping, use the ioscan -m hwpath command, as follows:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||