First display the available HBA's installed in your system:
# fcinfo hba-port
HBA Port WWN: 2100001b4377092a
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 375-3355-02
Firmware Version: 05.04.03
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01; EFI: 2.00;
Serial Number: 0402R00-0851658438
Driver Name: qlc
Driver Version: 20110321-3.05
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 2000001b4377092a
...
Then run fcinfo again with the remote-port option to see the zoned WWN's to the above HBA:
# fcinfo remote-port -p 2100001b3288092a
Remote Port WWN: 600608790221db92
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 600608790211db92
Remote Port WWN: 315511a1b93032ed
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 311511a1b93032ed
...
Finally you can display the avaialable Lun's:
# fcinfo remote-port -s -p 2100001b3288092a
Remote Port WWN: 600608790221db92
Active FC4 Types: SCSI
SCSI Target: yes
Node WWN: 500507680100ca81
LUN: 0
Vendor: IBM
Product: 2145
OS Device Name: Unknown
LUN: 9
Vendor: IBM
Product: 2145
OS Device Name: /dev/rdsk/c1t500507681100ca81d9s2
...
Where the target represent the WWN of the LUN.
No comments:
Post a Comment