No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

How to View the WWN of the FC HBA in the Linux OS?

Publication Date:  2012-07-20 Views:  37 Downloads:  0
Issue Description
The methods for viewing the WWN of the FC HBA in the SUSE OS and Red Hat OS are different.
Alarm Information
None
Handling Process
Red Hat AS4
grep scsi /proc/scsi/qla2xxx/3
SUSE9
cat cat /proc/scsi/qla2xxx/3
In the SUSE 10 OS, run the following command:
cat /sys/class/fc_host/host1/node_name
In the RedHat AS 5 OS, run the following command:
cat /sys/class/fc_host/host1/node_name
Other method: The WWN is recorded in messages during the startup of the Linux OS. Run the following command to view the messages.
grep "adapter-node" /var/log/messages
Root Cause
None
Suggestions
The same method can be used to view the WWN in the SUSE 9 and Red Hat AS 4 OSs. The same method can be used to view the WWN in the SUSE 10 and Red Hat AS 5 OSs.
The NWWN displayed by running the /sys/class/fc_host/host1/node_name command minus 1 equals the PWWN.
 

END