Linux Commands Question:
What is the command to check wwn # in linux?
Answer:
Emulex HBA Adaptor.
Find the WWPN.
Step1:
Confirm if the HBA is Emulex.
# lspci
......
0e:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
17:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
#
Step2:
# cd /sys/class/fc_host/
# ls -l
total 0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host1
# cat port_name
0x10000000c97a37cf
#
Find the WWPN.
Step1:
Confirm if the HBA is Emulex.
# lspci
......
0e:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
17:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
#
Step2:
# cd /sys/class/fc_host/
# ls -l
total 0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host1
# cat port_name
0x10000000c97a37cf
#
Previous Question | Next Question |
How to root mirror in Linux? How to replace mirrored hdd in case of failure? | How to give acl permission in numerical mode on linux? |