How to get wwpn from Emulex HBA on RHEL 5.3
To get wwpn on RHEL (Red Hat) 5.3 just run this command:
# cat /sys/class/fc_host/host*/port_name
Output :
[root@xxxx ~]# cat /sys/class/fc_host/host*/port_name
0×10000000c985e038
0×10000000c985e03a
[root@xxxx ~]#
In this case I have 2 HBA’s. The wwpn numbers are:
10:00:00:00:c9:85:e0:38
10:00:00:00:c9:85:e0:3a
regards,
Fernando Costa
Categories: Uncategorized