Table of Contents

HBA - How to check the WWN and Driver of HBA in Linux



How to determine the number of FC HBA cards and their WWN

Linux

#  systool -c fc_host -v |grep port_name
    port_name           = "0x500143802aaaaaab4"
    port_name           = "0x500143802aaaaaa9c"
Installing systool command
yum install sysfsutils

HP Proliant

# cd /opt/hp/hp_fibreutils
# ./adapter_info

You must install fibreutils-x.x-x.x86_64.rpm
You can download SPP of SDR like below.
/spp/RedHat/6/x86_64/2013.09.0_supspp_rhel6.5_x86_64/fibreutils-3.2-6.x86_64.rpm


How to Check the HBA Driver

# lspci |grep Fibre
# lspci -v

A lspci command is included the pciutils package.

For QLogic
# modinfo qla2xxx |grep version:

For Emulex
# cat /sys/class/scsi_host/host*/lpfc_drvr_version
For QLogic HBAs:
# systool -m qla2xxx –v

For Emulex HBAs:
# systool -m lpfc –v


Consultation