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
Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 3733 times since Mon, Jun 3, 2019
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 4837 times since Wed, Feb 6, 2019
AIX, System Admin Configuring dsh DSH
Viewed 5688 times since Fri, Apr 19, 2019
AIX 0516-404 allocp: This system cannot fulfill the allocation
Viewed 4473 times since Thu, Sep 20, 2018
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 4022 times since Fri, Jul 6, 2018
A Change to the SMT Mode Default in POWER9
Viewed 7049 times since Fri, Jan 18, 2019
IVM and VLAN Tagging
Viewed 11732 times since Mon, May 28, 2018
Useful AIX commands
Viewed 11558 times since Sun, Jun 17, 2018
SNAP
Viewed 2957 times since Mon, Sep 17, 2018
AIX LVM QUORUM mysteries revealed
Viewed 4642 times since Wed, May 22, 2019