I know certain ways to find WWNs of HBAs. For instance, check /sys/class/{fc,scsi}_host/hostn/port_name, or use the command below:
egrep -i 'port=|Portname' /proc/scsi/*/*
e.g.
% egrep -i 'port=|Portname' /proc/scsi/*/*
/proc/scsi/qla2xxx/3:scsi-qla0-adapter-port=2100001b321c1d2d;
/proc/scsi/qla2xxx/4:scsi-qla1-adapter-port=2101001b323c1d2d;
However, I can not find the WWNs of QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA on SuSe 10.3.
% cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 SP3 (x86_64) - Kernel \r (\l).
% /sbin/lspci | grep -i -e hba
37:0d:01.1 Network controller: QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA
39:0d:01.3 Network controller: QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA
% ls -l /sys/class/{fc,scsi}_host/host?/port_name
ls: /sys/class/fc_host/host?/port_name: No such file or directory
ls: /sys/class/scsi_host/host?/port_name: No such file or directory
% egrep -i 'port=|Portname' /proc/scsi/*/*
/proc/scsi/qla4xxx/5:scsi-qla0-adapter-port="iqn.1994-05.com.redhat:de43ae8b9a48";
/proc/scsi/qla4xxx/6:scsi-qla1-adapter-port="iqn.1994-05.com.redhat:de43ae8b9a48";
Apparently, what's returned by 'egrep' is not WWN.
Is it true that QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA DOES NOT have WWNs?
Many thanks.
egrep -i 'port=|Portname' /proc/scsi/*/*
e.g.
% egrep -i 'port=|Portname' /proc/scsi/*/*
/proc/scsi/qla2xxx/3:scsi-qla0-adapter-port=2100001b321c1d2d;
/proc/scsi/qla2xxx/4:scsi-qla1-adapter-port=2101001b323c1d2d;
However, I can not find the WWNs of QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA on SuSe 10.3.
% cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 SP3 (x86_64) - Kernel \r (\l).
% /sbin/lspci | grep -i -e hba
37:0d:01.1 Network controller: QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA
39:0d:01.3 Network controller: QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA
% ls -l /sys/class/{fc,scsi}_host/host?/port_name
ls: /sys/class/fc_host/host?/port_name: No such file or directory
ls: /sys/class/scsi_host/host?/port_name: No such file or directory
% egrep -i 'port=|Portname' /proc/scsi/*/*
/proc/scsi/qla4xxx/5:scsi-qla0-adapter-port="iqn.1994-05.com.redhat:de43ae8b9a48";
/proc/scsi/qla4xxx/6:scsi-qla1-adapter-port="iqn.1994-05.com.redhat:de43ae8b9a48";
Apparently, what's returned by 'egrep' is not WWN.
Is it true that QLogic Corp. ISP4032-based iSCSI TOE IPv6 HBA DOES NOT have WWNs?
Many thanks.