Installation and Reference Guide HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 (5697-8001, March 2009)
It is possible in most cases, however, to map the device instance number back to the array unit number
by using the path instance number. In most cases, the path instance target or LUN doublet is the octal
equivalent of the array unit number as seen by Secure Path for Active-Passive arrays.
For example, here is partial output of an spmgr display command:
TGT/LUN Device WWLUN_ID H/W_Path #_Paths
0/ 3 c12t0d3 6000-1FE1-0016-6C30-0009-2030-2549-000A 4
255/0.0.3
Controller Path_Instance HBA Preferred? Path_Status
ZG20302549 no
c4t0d4 td1 no Active
c10t0d4 td3 no Available
Controller Path_Instance HBA Preferred? Path_Status
ZG20400420 no
c6t0d4 td1 no Standby
c8t0d4 td3 no Standby
TGT/LUN Device WWLUN_ID H/W_Path #_Paths
0/ 4 c12t0d4 6000-1FE1-0016-6C30-0009-2030-2549-000E 4
255/0.0.4
Controller Path_Instance HBA Preferred? Path_Status
ZG20302549 no
c4t6d3 td1 no Active
c10t6d3 td3 no Available
Controller Path_Instance HBA Preferred? Path_Status
ZG20400420 no
c6t6d3 td1 no Standby
c8t6d3 td3 no Standby
Convert the path instance target and LUN octal value to decimal. The decimal value is the array unit
or virtual disk number.
In this example, to determine the array’s unit number for device c12t0d3, convert the path instance
c4t0d4 target or LUN octal doublet 04 to a decimal number 04. The HSG80 array’s D4 is mapped
to Secure Path for Active-Passive device c12t0d3.
For the example’s second device c12t0d4, the path instance c4t6d3 yields an octal doublet 63
that converts to a decimal 51. The server, therefore, sees a unit number 51(D51 for an HSG80) from
the array.
If you are configuring an HSG80-based array, this conversion must account for unit offsets if they are
used. If the unit number on the array is D25 and the unit offset is 20, the server sees a unit number
of 5 (25 minus 20), and the path instance for that unit is in the form of c#t0d5.
If you are using an HSV110 or HSG80-based array, virtual disk numbers or unit numbers greater
than 128/127, respectively, do not follow the above convention. For a virtual disk or unit number
greater than 128, Secure Path for Active-Passive assigns a new c instance number, drops the most
significant bit (subtracts 128), and assigns the path instance number. For example, if an HSV110
presents a virtual disk number 138 to the server, Secure Path for Active-Passive assigns a device
number cyt1d2, where y is a new c number and t1d2 is derived from 138 - 128 = 10 converted
to an octal 12.
Displaying header information
Due to the possible complexity of the Secure Path for Active-Passive configuration and the possibility
of shared storage or clustered software across multiple servers, the display information always has
the following two standard lines of information at the start of the display:
Line 1: Server: Server Name Report Created: Date and Time
Line 2: Command: Command string
Secure Path for Active-Passive disk arrays40