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
vfcpmap on VIO Server
Viewed 10618 times since Tue, Jun 4, 2019
Kerberos, Active Directory and AIX
Viewed 7443 times since Mon, Jun 25, 2018
AIX: How to determine which application created the OS core file
Viewed 3229 times since Mon, Jun 11, 2018
AIX Replacing a failed disk (rootvg)
Viewed 10084 times since Tue, Jul 17, 2018
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 12937 times since Thu, Feb 21, 2019
AIX - How to monitor memory usage
Viewed 7220 times since Fri, Jun 8, 2018
AIX Errpt - Diag - Alog
Viewed 4719 times since Wed, Mar 20, 2019
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 5622 times since Wed, Jun 27, 2018
The new VIOS performance advisor tool part util
Viewed 4244 times since Tue, Jun 4, 2019
AIX, user gets “pwd: The file access permissions do not allow the specified action.”
Viewed 13271 times since Tue, Mar 16, 2021