List HBAs: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
# Use <tt>'''systool'''</tt> to display WWPN
# Use <tt>'''systool'''</tt> to display WWPN
#: <tt>'''# systool -c fc_host -v | grep port_name'''</tt>
#: <tt>'''# systool -c fc_host -v | grep port_name'''</tt>
==== Using <tt>lspci</tt> ====
# Use <tt>'''lspci'''</tt> to display available HBAs
#: <tt>'''# lspci -nn | grep -i hba'''</tt>

Revision as of 14:23, 28 March 2017

Using systool

  1. To install systool
    # yum install sysfsutils
  2. Use systool to display WWPN
    # systool -c fc_host -v | grep port_name

Using lspci

  1. Use lspci to display available HBAs
    # lspci -nn | grep -i hba