Skip to contentSkip to conversation

how to tell a WWN of FC HBA under linux

DISCUSSION Ming Zhang 3 participants 4 messages Dec 12, 2005 SCSI

lore
Share & tools
lore

Ming Zhang

author
#0 lore raw

Hi folks

I know it is possible that tell the WWN during post. But is it possible to tell under linux after system boots?

Thanks!

Ming

#1 lore raw

Ming,

With earlier releases of Kernel 2.6 we had to rely on the board driver to put this information in the proc file system. We were using Emulex boards whose drivers performed this service.

In later versions of 2.6, some entity has been placing this information in the sys directory. We are using a Red Hat derivative, but we think that this is independent of the distribution.

David Egolf

[email protected] wrote on 12/12/2005 11:50:31 AM:

Quoted 14 lines

Hi folks

I know it is possible that tell the WWN during post. But is it possible to tell under linux after system boots?

Thanks!

Ming

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Ming Zhang

Look in /sys/class/fc_host/hostX for entries port_name and node_name. Most but not all fc drivers implement this. Others may export data in /proc or provide their own utility to get it.

Mike

Quoted 16 lines · Ming Zhang

Hi folks

I know it is possible that tell the WWN during post. But is it possible to tell under linux after system boots?

Thanks!

Ming

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw

Thanks a lot! I found it for qla2300.

Ming

Quoted 26 lines · Michael Reed

Look in /sys/class/fc_host/hostX for entries port_name and node_name. Most but not all fc drivers implement this. Others may export data in /proc or provide their own utility to get it.

Mike

Quoted 16 lines · Ming Zhang

Hi folks

I know it is possible that tell the WWN during post. But is it possible to tell under linux after system boots?

Thanks!

Ming

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html