Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find WWN of Qlogic SCSI HBA on SLES 10.3

Status
Not open for further replies.

whn

Programmer
Oct 14, 2007
265
US
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.
 
WWNs are used by SAN HBAs (which are connected to SANs), that looks like an iSCSI-only adapter (which connects to an Ethernet network) to me?

Annihilannic.
 
Thank you, Annihilannic.

You're right. That's a iSCSI-only adapter, which has IQN instead of wwn. And I already got the IQN, i.e.

% 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";

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top