HP Fibre Channel Host Bus Adapters manual = Idle

Page 18

The controller, target, and lun values are extracted from the LUN id as shown in the table:

Table 1-7

Controller

Target

LUN

(7 bits)

(4 bits)

(3 bits)

 

 

 

0-63

0-15

0-7

 

 

 

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:

# scsimgr get_info -H 0/2/1/0.0x500805f300083899

STATUS INFORMATION FOR TARGET PATH : 0/2/1/0.0x500805f300083899

Generic Status Information

 

SCSI services internal state

= IDLE

Port id

= 0x10700

Protocol

= fibre_channel

Protocol revision

= 4.3

Port name

= 0x500805f300083899

Node name

= 0x500805f300083890

LUN paths registered (active/inactive)

= 12

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:

# ioscan -m hwpath -H 0/2/1/0.0x500805f300083899.0x4011000000000000

Lun H/W Path

Lunpath H/W Path

Legacy H/W Path

=============================================================================

64000/0xfa00/0x4

0/2/1/0.0x500805f300083899.0x4011000000000000 0/2/1/0.1.7.0.0.2.1

18

Image 18
Contents A6795A Fibre Channel Mass Storage Adapter Installation Guide LocalizedDocumentation Fibre Channel Adapter Installation for HP-UX Prerequisites StepImportant Patches and Updates Installing Driver Software Step Select Mark for Install from the Actions menuVar/adm/sw/swinstall.log Installing Adapter Hardware Installing the Fibre Channel AdapterInstalling the Host Bus Adapter A6795A Dual Port Fibre Channel Adapter Verifying Installation Attaching the Adapter to Other Fibre Channel DevicesVerifying Connectivity Ioscan -f Output2/0.1.19.255.15.4.0 Interpreting Legacy Hardware Paths HP-UX 11i v1 and 11iLUN Page Interpreting Lunpath Hardware Paths HP-UX 11i Components of Lunpath Hardware PathsReserved = Idle FCC Statement For U.S.A CanadaVcci Japan PCI Card Only Laser Safety StatementsEMI Australia and New Zealand EMI Statement European CommunityLaser Safety European Union Optical Transceiver Only A6795A Declaration of Conformity