AIX check the HBA status

The P5/6/7 hardware loaded with AIX. How to check the FC HBA status?

This command lists all devices available in AIX system.

#lsdev

Among all devices, look for FC HBA adapter by using below command.

#lsdev –Cc adapter |grep fcs*

If the HBA’s listed with the status “available” then the device is ready for use. If case your HBA device not listed, run the below command and retry.

#cfgmgr

Identify WWPN of HBA

To check the properties of HBA device “fcs0”

#lscfg –vpl fcs0

The parameter named “Network Address” is the WWPN of FC HBA adapter. You need to share WWPN with storage personal for zoning and LUN allocation.

Advanced attributes of HBA

To see advanced attributes or properties of FC HBA adapter use these commands.

#lsattr –El fcs0
#lsattr –El fscsi0
 

FSCSI – This is a virtual device. This means “SCSI” protocol over the FC. For each HBA adapter equivalent FSCSI device created automatically. Above command list the properties of FSCSI device.

HBA connection status

To check the HBA adapter connection status use this command.

#lsattr –El fscsi0 |grep attach
attach       switch       How this adapter is CONNECTED         False

The above output says HBA connected to switch.

#lsattr –El fscsi0 |grep attach
attach       none       How this adapter is CONNECTED         False

The above output confirms HBA link is down.

Attachments
There are no attachments for this article.
Related Articles RSS Feed
Install and configure yum on AIX
Viewed 4357 times since Thu, Feb 21, 2019
VIO Server Howto
Viewed 9787 times since Mon, Jun 11, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 80636 times since Thu, Jun 21, 2018
AIX disk queue depth tuning for performance
Viewed 14860 times since Thu, Jan 16, 2020
AIX QHA
Viewed 10861 times since Mon, Jun 3, 2019
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3042 times since Fri, Feb 1, 2019
AIX - How to unlock and reset user’s account
Viewed 16124 times since Fri, Jun 8, 2018
Installation of the Virtual I/O Server directly from the HMC
Viewed 19704 times since Tue, Jun 4, 2019
replacing (hot-swap) failed disk in rootvg
Viewed 8783 times since Thu, Sep 20, 2018
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 3473 times since Tue, Apr 16, 2019