List HBAs: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==== Using <tt>systool</tt> ====
==== Using <tt>systool</tt> ====
# If systool is installed
# To install systool
#: <tt>'''# yum install sysfsutils'''</tt>
# 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>
##: To install systool
#:::: <tt>'''# yum install sysfsutils'''</tt>

Revision as of 14:21, 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