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
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 17735 times since Sun, Jun 30, 2019
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 3140 times since Sun, Jun 3, 2018
AIX Creating EtherChannel Devices from Command Line
Viewed 4010 times since Mon, Jun 3, 2019
AIX - How to shutdown or reboot
Viewed 6600 times since Fri, Jun 8, 2018
AIX, Storage, System Admin↑ Identifying a Disk Bottleneck Using filemon
Viewed 10196 times since Fri, Apr 19, 2019
How to build a NIM Server on AIX 6.1 from the Scratch :: Part 1
Viewed 5278 times since Thu, Nov 29, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5872 times since Sat, Jun 2, 2018
Part 2, Detailed diagnosis and troubleshooting
Viewed 3008 times since Tue, May 22, 2018
Useful AIX commands
Viewed 10199 times since Sun, Jun 17, 2018
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 8205 times since Tue, Jun 4, 2019