List HBAs
Jump to navigation
Jump to search
Using systool
- To install systool
- # yum install sysfsutils
- Use systool to display all WWPNs
- # systool -c fc_host -v | grep port_name
- Use systool to display attributes of a specific fc_host
- # systool -ac fc_host <host#> -v
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