
Addressing, Structures and Operation
Fibre Channel and SCSI systems employ different methods of addressing devices. The inclusion of a bridge or router requires that a method of translating device IDs be implemented so that each SCSI device is mapped to the appropriate Fibre Channel LUN. The SCSI buses establish bus connections between devices. Targets on a SCSI bus may internally address logical units. The addressing of a specific SCSI device is represented by the BUS:TARGET:LUN triplet.
When a Fibre Channel initiator initializes on an arbitrated loop, the first order of business is to determine what devices exist on the loop. Device discovery is performed, and an FCP target device list is built. Each device is queried for FCP logical units. The logical units are the actual devices that the operating system will address. When an initiator addresses a logical unit, the LUN field used is consistent in form with the SCC defined fields. All current Fibre Channel host bus adapter drivers are consistent with these methods. The addressing used is the SCC Logical Unit Addressing and Peripheral Device Addressing methods, shown in Table
| Table |
| SCC Addressing Structure |
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bits | 7 |
| 6 |
| 5 |
| 4 |
| 3 |
| 2 |
| 1 | 0 |
Bytes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
n | Address Method |
|
|
| Address Method Specific |
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
n+1 |
|
|
|
|
| Address method Specific |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Table |
| Peripheral | Device Addressing LUN Structure |
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Bits | 7 |
| 6 |
| 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Bytes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
n | 0 |
| 0 |
|
|
|
|
| Bus |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
n+1 |
|
|
|
|
|
| Target/LUN |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
Addressing, Structures and Operation | |
|
|
|
|