HP Fibre Channel Host Bus Adapters manual Reserved

Page 17

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

Addressing Method

LUN

Reserved

(2 bits)

Number

(48 bits)

 

 

 

(14 bits)

 

 

 

 

 

00

– Peripheral Device Addressing

0x00-0x3fff

0x00

01

– Volume Set Addressing (Flat Space Addressing)

 

 

10

– Logical Unit Addressing

 

 

 

 

 

 

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 the addressing method (Volume Set Addressing, also known as 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 perform this decoding using the scsimgr command to display the LUN’s lunid attribute. For example:

# scsimgr get_attr -H 0/2/1/0.0x500805f300083899.0x400f000000000000 -a lunid

SCSI ATTRIBUTES FOR LUN PATH : 0/2/1/0.0x500805f300083899.0x400f000000000000

name = lunid

current =0x400f000000000000 (LUN # 15, Flat Space Addressing) default =

saved =

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:

Table 1-6

Domain

Area

Port

(8 bits)

(8 bits)

(8 bits)

 

 

 

0-255

0-255

0-255

 

 

 

17

Image 17
Contents A6795A Fibre Channel Mass Storage Adapter Installation Guide LocalizedDocumentation Fibre Channel Adapter Installation for HP-UX Step PrerequisitesImportant Patches and Updates Step Select Mark for Install from the Actions menu Installing Driver SoftwareVar/adm/sw/swinstall.log Installing the Fibre Channel Adapter Installing Adapter HardwareInstalling the Host Bus Adapter A6795A Dual Port Fibre Channel Adapter Attaching the Adapter to Other Fibre Channel Devices Verifying InstallationIoscan -f Output Verifying ConnectivityInterpreting Legacy Hardware Paths HP-UX 11i v1 and 11i 2/0.1.19.255.15.4.0LUN Page Components of Lunpath Hardware Paths Interpreting Lunpath Hardware Paths HP-UX 11iReserved = Idle Canada FCC Statement For U.S.AEMI Australia and New Zealand Laser Safety StatementsVcci Japan PCI Card Only EMI Statement European CommunityLaser Safety European Union Optical Transceiver Only A6795A Declaration of Conformity