meta data for this page
  •  

HP-UX

HP-UX: Finding Fiber HBA WWN

Use the commands

ioscan -fnC fc to get the HBA path
fcmsutil [HBA path] to get the full info

Sample output below..and guess what? I have two HBAs installed

# ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
================================================================
fc 2 0/3/1/0 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd2
fc 3 0/3/1/1 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/dev/fcd3
 
# fcmsutil /dev/fcd2
 
Vendor ID is = 0x1077
Device ID is = 0x2422
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x12D7
PCI Mode = PCI-X 133 MHz
ISP Code version = 4.4.4
ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x010500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50060b000069b1d9
N_Port Port World Wide Name = 0x50060b000069b1d8
Switch Port World Wide Name = 0x200500051e05b304
Switch Node World Wide Name = 0x100000051e05b304
N_Port Symbolic Port Name = odevux34_fcd2
N_Port Symbolic Node Name = odevux34_HP-UX_B.11.31
Driver state = ONLINE
Hardware Path is = 0/3/1/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) fcd B.11.31.0909 Jun 8 2009
 
# fcmsutil /dev/fcd3
 
Vendor ID is = 0x1077
Device ID is = 0x2422
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x12D7
PCI Mode = PCI-X 133 MHz
ISP Code version = 4.4.4
ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x010500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50060b000069b1db
N_Port Port World Wide Name = 0x50060b000069b1da
Switch Port World Wide Name = 0x200500051e05940a
Switch Node World Wide Name = 0x100000051e05940a
N_Port Symbolic Port Name = odevux34_fcd3
N_Port Symbolic Node Name = odevux34_HP-UX_B.11.31
Driver state = ONLINE
Hardware Path is = 0/3/1/1
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) fcd B.11.31.0909 Jun 8 2009
 
#

And by the by … If you’re here, you may also like the “extended” version

HP-UX Useful Fiber Channel and Multipath Commands modeled after a few hours of my work on a storage problem with my HP-UX server.

I had initially thought it blog-worthy since it took me a few hours to research, but questioned its blog-worthiness since..well, who the heck still used HP-UX? Being a sysadmin for close to 20 years now, I haven’t seen any HP-UX out there since my first job at a chip design company.

Sufficed to say, the blog post got quite a lot of hits and searches … so yeah, there ya go :) Hope you HP-UX guys find this useful too and take pride in your dinosaur-ness!