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
Secure Secure Shell
Viewed 13314 times since Fri, Aug 21, 2020
AIX Commands Related to Boot and Init Process
Viewed 6356 times since Tue, Apr 16, 2019
AIX: Configuring a network interface
Viewed 5237 times since Sat, Jun 2, 2018
AIX Assign a PVID to a new hdisk
Viewed 7488 times since Tue, Jul 17, 2018
Setup private yum repository for AIX clients
Viewed 12532 times since Thu, Feb 21, 2019
AIX↑ AIX www links
Viewed 4673 times since Sat, Apr 20, 2019
10 AIX Commands to Add to Your Toolbox
Viewed 6533 times since Sat, May 19, 2018
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 14747 times since Wed, Jun 19, 2019
AIX disk queue depth tuning for performance
Viewed 18389 times since Thu, Jan 16, 2020
Backing up your VIOS configuration with viosbr.
Viewed 13154 times since Mon, May 28, 2018