Operating System - HP-UX
1834796 Members
2617 Online
110070 Solutions
New Discussion

command to check HBA status

 
SOLVED
Go to solution
AshishJain_USA
Frequent Advisor

command to check HBA status

what is the command to check fibre channel HBA status ( onlin/ofline, I/O, wwn etc. ) on an HP 11i system.
7 REPLIES 7
Jeff_Traigle
Honored Contributor
Solution

Re: command to check HBA status

fcmsutil

Can find device files to use with "ioscan -fnC fc"
--
Jeff Traigle
marie-noelle jeanson_1
Trusted Contributor

Re: command to check HBA status

Hi,

That would be fcmsutil.
Check the FC support guide, for instance at http://docs.hp.com/en/J6374-90030/ch04s03.html

Syntax: fcmsutil /dev/tdx (device file may depend on your FC HBA),

Marie.
Jeff Schussele
Honored Contributor

Re: command to check HBA status

Hi,

The fcmsutil command is the ticket

fcmsutil -stat /dev/tdX

where x=the td instance

shorter output:

fcmsutil stat -s /dev/tdX

HTH,
Jeff



PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Deoncia Grayson_1
Honored Contributor

Re: command to check HBA status

ioscan -funC fc

this will show you the td device numbers and will show up as either CLAIMED or NO_HARDWARE, another way is using fcmsutil...


man fcmsutil for more details
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Sandman!
Honored Contributor

Re: command to check HBA status

Ashish,

fcmsutil is the utility that you're looking for...find out the device driver of the FC card from ioscan and then use that as input to fcmsutil.

# ioscan -funC fc
# fcmsutil /dev/td#

where # = card instance number

cheers!
Jeff Schussele
Honored Contributor

Re: command to check HBA status

Sorry no need for "-" in front of stat - but - it is needed for the -s

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
AshishJain_USA
Frequent Advisor

Re: command to check HBA status

Thanx