List HBAs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
# Information regarding the HBAs is located in the following directory | # Information regarding the HBAs is located in the following directory | ||
#: <tt>'''/sys/class/fc_host/host#/*'''</tt> | #: <tt>'''/sys/class/fc_host/host#/*'''</tt> | ||
## View the Port State | |||
#::: <tt>'''cat /sys/class/fc_host/host#/port_state''' | |||
## View the WWPN | |||
#::: <tt>'''cat /sys/class/fc_host/host#/port_name''' | |||
## View the Port Speed | |||
#::: <tt>'''cat /sys/class/fc_host/host#/speed''' |
Revision as of 14:29, 28 March 2017
Using systool
- To install systool
- # yum install sysfsutils
- Use systool to display WWPN
- # systool -c fc_host -v | grep port_name
Using lspci
- Use lspci to display available HBAs
- # lspci -nn | grep -i hba
Location of defined HBAs
- Information regarding the HBAs is located in the following directory
- /sys/class/fc_host/host#/*
- View the Port State
- cat /sys/class/fc_host/host#/port_state
- View the WWPN
- cat /sys/class/fc_host/host#/port_name
- View the Port Speed
- cat /sys/class/fc_host/host#/speed