Linux Commands Question:

Download Job Interview Questions and Answers PDF

What is the command to check wwn # in linux?

Linux Commands Interview Question
Linux Commands Interview Question

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
#

Download Linux Commands Interview Questions And Answers PDF

Previous QuestionNext 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?