Example: SCSI device report
In the second example, the device report lists all configured SCSI devices with their corresponding FCP representation.
The example shows the output of the device report limiting the output to the two FCP devices 0.0.3c07 and 0.0.3d07 with an enabled first line (table header).
# ziorep_config -D -t -a 0.0.3c07 -a 0.0.3d07 adapter remote port LUN SCSI gen_dev scsi_dev MM type model vendor H:C:T:L ===================================================================================================== 0.0.3c07 0x500507630300c562 0x401040a600000000 host0 /dev/sg0 /dev/sda 8:0 Disk 2107900 IBM 0:0:0:1084637200 0.0.3c07 0x500507630300c562 0x401040a700000000 host0 /dev/sg1 /dev/sdb 8:16 Disk 2107900 IBM 0:0:0:1084702736 0.0.3c07 0x500507630300c562 0x401040a800000000 host0 /dev/sg2 /dev/sdc 8:32 Disk 2107900 IBM 0:0:0:1084768272 0.0.3c07 0x500507630300c562 0x401040a900000000 host0 /dev/sg3 /dev/sdd 8:48 Disk 2107900 IBM 0:0:0:1084833808 0.0.3c07 0x500308c141699001 0x0000000000000000 host0 /dev/sg4 /dev/st0 9:0 Tape ULT3580-TD2 IBM 0:0:23:0 0.0.3d07 0x500507630300c562 0x401040a600000000 host1 /dev/sg5 /dev/sde 8:64 Disk 2107900 IBM 1:0:10:1084637200 0.0.3d07 0x500507630300c562 0x401040a700000000 host1 /dev/sg6 /dev/sdf 8:80 Disk 2107900 IBM 1:0:10:1084702736
The fields of the report are described in Table 1.
| Field | Meaning |
|---|---|
| adapter: | Device bus ID of the FCP device. |
| remote port | WWPN of the target port |
| LUN | logical unit number of the SCSI device |
| SCSI | SCSI host ID |
| gen_dev | SCSI generic device |
| scsi_dev | SCSI device (block-, char-) |
| MM | major:minor number of the SCSI device |
| type | type of device (such as Disk, or Tape) |
| vendor | vendor of the corresponding storage device |
| H:C:T:L | Host:Channel:Target:LUN path mapping of the target device |