HP Fibre Channel Host Bus Adapters manual Reserved

Models: Fibre Channel Host Bus Adapters

1 22
Download 22 pages 16.52 Kb
Page 17
Image 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

Page 17
Image 17
HP Fibre Channel Host Bus Adapters manual Reserved