Find Fiber Host Bus Adapter WWN On Linux


If you are looking for HBA wwn on your server just to do zoning or maybe doublecheck that it matches with what you see on FC sswitch just log in to your LInux box and run following:

cat /sys/class/fc_host/host*/port_name

Output (amount of lines) will depend on how many ports and cards you have in your box.