??????????洢?????????洢?????????????????wwn?????????????洢????????????wwn?????????????????hba??id????????linux?????????????????
???????RedHat Linux AS4
# grep scsi /proc/scsi/qla2xxx/3
Number of reqs in pending_q= 0?? retry_q= 0?? done_q= 0?? scsi_retry_q= 0
scsi-qla0-adapter-node=20000018822d7834;
scsi-qla0-adapter-port=21000018822d7834;
scsi-qla0-target-0=202900a0b8423858;
scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;
????????RedHat Linux AS5/AS6
????redhat5??redat6????????????
[root@mytest host3]# pwd
/sys/class/fc_host/host3
[root@mytest host3]# cat port_name
0x10000090fa74258b
????????centos??oel??redhat????????????
????????SuSE Linux 9
?????? /proc/scsi/qla2xxx/*  ?????? adapter-port ?????????????FC HBA????WWN?????
????# cat /proc/scsi/qla2xxx/* | grep adapter-port
????scsi-qla0-adapter-port=21000018822c8a2c;
????scsi-qla1-adapter-port=21000018822c8a2d;
?????????SuSE Linux 10
?????? /sys/class/fc_host/host*/port_name ??????????????????FC HBA????WWN?????
????mytest:/sys/class/fc_host/host3 # pwd
????/sys/class/fc_host/host3
????mytest:/sys/class/fc_host/host3 # cat port_name
????0x21000024ff356b02