cancel
Showing results for 
Search instead for 
Did you mean: 

fcmsutil

 
Waqar Razi
Regular Advisor

fcmsutil

Can some one explain me how to troubleshoot hba's with fcmsutil command? I am seeing the man page, but dont understand much.

Any help will be highly appreciated.
4 REPLIES
George_Dodds
Honored Contributor

Re: fcmsutil

fcmsutil is handy to see the status of a HBA

It will tell whether it is initialised or not, link speed, hardware path, etc.

It will also tell you the driver state eg
Driver state = AWAITING_LINK_UP
or
Driver state = ONLINE

Take a looke at a known good hba first with fcmsutil for reference.

George_Dodds
Honored Contributor

Re: fcmsutil

Below is the output of fcmsutil against an inactive hba and an active hba

# /opt/fcms/bin/fcmsutil /dev/td0

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Previous Topology = UNINITIALIZED
Link Speed = UNINITIALIZED
Local N_Port_id is = 0x000000
Local Loop_id is = 126
N_Port Node World Wide Name = 0x50060b000025e8af
N_Port Port World Wide Name = 0x50060b000025e8ae
Driver state = AWAITING_LINK_UP
Hardware Path is = 0/0/4/1/0
Number of Assisted IOs = 0
Number of Active Login Sessions = 0
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.03 $Date: 2005/01/20 15:09:02 $Revision: r11.23/1 PATCH_11.23 (PHSS_32101)



# /opt/fcms/bin/fcmsutil /dev/td1

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x961b00
N_Port Node World Wide Name = 0x50060b000025e76d
N_Port Port World Wide Name = 0x50060b000025e76c
Driver state = ONLINE
Hardware Path is = 0/0/6/1/0
Number of Assisted IOs = 667274
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.03 $Date: 2005/01/20 15:09:02 $Revision: r11.23/1 PATCH_11.23 (PHSS_32101)
Vishu
Trusted Contributor

Re: fcmsutil

Hi,

You can find the status of the HBA with the following commands.

fcmsutil
or
fcmsutil /dev/td0

where device file name you can find in ioscan output.

Detail statistics of the HBA you can find with the stat parameter with this command.

fcmsutil /dev/td0 stat
Bill Hassell
Honored Contributor

Re: fcmsutil

fcmsutil will tell you everything there is to know about the card. It cannot tell you anything about disks or tapes that are not showing up other than whether the link is up. If it is up, your next step is the SAN switch or the device.


Bill Hassell, sysadmin