Linux - How to check wwn in blade and os, Find SAN port name in linux
How to check wwn in blade and os
Check fiber channel exist in server or not
# lspci | grep -i fibreOUTPUT
00:00.1 Fibre Channel: ServerEngines Corp. Emulex OneConnect 10Gb FCoE Initiator
# find /sys -type d -name fc_host /sys/class/fc_host
Check the Port number by using find command
# find $(find /sys -type d -name fc_host) -type f -name port_name -exec cat {} \\;OUTPUT
0x123456789xxxxxxx 0xxxxxxxxxxxxxxxxx
systool command used to find the port number
# systool -c fc_host -v | grep port_nameOUTPUT
port_name = \"0x123456789xxxxxxx\" port_name = \"0xxxxxxxxxxxxxxxxx\"
In this article first we have explained you, how to check the fibre channel is enabled in the server or not. Once you find the fibre channel is enabled and it has no problem with it, then you can start working to figure out the port number of SAN or blade server. You can find out by various methods, here I have explained you how to find it via find command and by using systool command.
/sys is the path where all the system hardware related information resides in it.
The topic on Linux - How to check wwn in blade and os is posted by - Math
Hope you have enjoyed, Linux - How to check wwn in blade and osThanks for your time