There are various to obtain the HBA WWN related content for a Linux based server, for which some are listed below:
systool
The Linux command "systool" displays system device information by bus, class, and topology.
The following syntax, will display the HBA WWN content for the local host:
# systool -c fc_host -v
Class = "fc_host"
Class Device = "host1"
Class Device path = "/sys/class/fc_host/host1"
fabric_name = "0x100500021e7c11"
issue_lip =
node_name = "0x200000e08b1c1df0"
port_id = "0x0f0100"
port_name = "0x210000e08b1c1df0"
port_state = "Online"
port_type = "NPort (fabric via point-to-point)"
speed = "2 Gbit"
supported_classes = "Class 3"
symbolic_name = "QLA2340 FW:v3.03.26 DVR:v8.02.00.06.05.03-k"
system_hostname = ""
tgtid_bind_type = "wwpn (World Wide Port Name)"
uevent =
Device = "host1"
Device path = "/sys/devices/pci0000:00/0000:00:0a.0/0000:02:05.0/host1"
fw_dump =
nvram = "ISP "
optrom_ctl =
optrom =
uevent =
vxdmpadm
The Veritas "vxdmpadm" CLI command can also be used to display the HBA WWN content for the local host:
# vxdmpadm getctlr all
LNAME PNAME VENDOR CTLR-ID
=============================================================================================
c1 c1 Qlogic-Corp. 21:00:00:e0:8b:1c:1d:f0
c0 c0 - -
Hardware listing:
dmidecode
dmidecode is a tool for dumping a computer’s DMI table contents in a human-readable format. This table contains a description of the
system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision.
lshw
(not installed by default)
The lshw (Hardware Lister) utility provides detailed information surrounding the hardware configuration of the local machine.
It can report memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, and so on.