Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: Finding HBAs driver version and wwpn


Pull Driver Version:
# modinfo qla2xxx | grep version
version: 9.00.00.00.40.0-k1
srcversion: 67989F13670BACC60C8CA47
vermagic: 4.1.12-124.17.1.el6uek.x86_64 SMP mod_unload modversions

Pull WWPN:
# more /sys/class/fc_host/host?/port_name
::::::::::::::
/sys/class/fc_host/host1/port_name
::::::::::::::
0x2001000e1e024d24
::::::::::::::
/sys/class/fc_host/host2/port_name
::::::::::::::
0x2001000e1e024d7d