identify hba wwn and state
If you don’t have systool
from the sysfsutils
package in your environment, you can use the following to find the WWNs and states of all HBA ports on your host:
WWNs are 8 bytes and will match: 0\[xX]([0-9a-fA-F]){16}
.
The above WWNs were randomly generated: