1752781 Members
5998 Online
108789 Solutions
New Discussion юеВ

HBA cards information

 
khilari
Regular Advisor

HBA cards information

hi guys just wondering how do u find out how many HBA cards are installed on a system.. and their device files..
Thanks
8 REPLIES 8

Re: HBA cards information

by HBA cards do you mean Fibre Channel adapters

If so, then:

ioscan -funC fc

will show you all the fibre channel ports on your system, but of course some HBAs have more than 1 FC port on it, so you'd need to match up against what you see at the slot level by comparing with the output of:

ioscan -kfC ba

any FC device thats under the same hardware path at the slot level is on the same card.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Mark S Meadows
Valued Contributor

Re: HBA cards information

Hi Kilari,

As well as the above listed "ioscan" commands to view the device files you can also use commands "rad -q" or "orad -q" depending upon the o/s version.

Example :

# olrad -q
Driver(s)
Capable
Slot Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode
Num Spd Mode
0-0-1-0 0/0/0/1 0 133 133 Off No N/A N/A N/A PCI-X PCI-X
0-0-1-1 0/0/1/1 256 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-2 0/0/2/1 512 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-3 0/0/4/1 768 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-4 0/0/5/1 1024 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-5 0/0/6/1 1280 266 266 Off No N/A N/A N/A PCI-X PCI-X
0-0-1-6 0/0/14/1 2816 266 266 Off No N/A N/A N/A PCI-X PCI-X
0-0-1-7 0/0/13/1 2560 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-8 0/0/12/1 2304 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-9 0/0/10/1 2048 133 133 Off No N/A N/A N/A PCI-X PCI-X
0-0-1-10 0/0/9/1 1792 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-1-11 0/0/8/1 1536 133 133 On Yes No Yes Yes PCI-X PCI-X

This lists which slots are occupied, and by what type of HBA.

I hope it helps.

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Ganesan R
Honored Contributor

Re: HBA cards information

Hi Khilari,

#ioscan -fnC fc

If you need card specific details

#fcmsutil
Best wishes,

Ganesh.
Taifur
Respected Contributor

Re: HBA cards information

Hi Khilari

You can check HBA as follows;
#ioscan
or


Procedure for checking FC

# ioscan -fnC fc
# /opt/fcms/bin/fcddiag

You can also check fromk nickel output which hardware installed on your system
RGds//
Taifur
Johnson Punniyalingam
Honored Contributor

Re: HBA cards information

Hi Khilari,

You can look for nickel.script provided by HP "

All HBA cards are installed on a system.. and their device files. information in html.format,

have try that one..

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Suraj K Sankari
Honored Contributor

Re: HBA cards information

Hi,

See the example
#ioscan -fnC fc

Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/2/1/0 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
/dev/fcd0
fc 1 0/2/1/1 fcd CLAIMED INTERFACE HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
/dev/fcd1

# fcmsutil /dev/fcd0
# fcmsutil /dev/fcd1

Suraj
Torsten.
Acclaimed Contributor

Re: HBA cards information

You should try this:

# /opt/ignite/bin/print_manifest

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Aneesh Mohan
Honored Contributor

Re: HBA cards information

Hi Khilari,

Addendum ...

SCSI Interface
echo "selclass qualifier scsi;info;wait;infolog" |/usr/sbin/cstm

Fiber Channel Interface :-
echo "selclass qualifier fibre;info;wait;infolog" |/usr/sbin/cstm


HPUX V3
--------
scsimgr - SCSI management and diagnostic utility
scsimgr performs the following operations:

+ Activate standby or active non-optimized LUN paths for asymmetric
devices.
+ Display and clear global statistics or statistics for SCSI objects.
+ Clear kernel metric data for SCSI objects.
+ Display status and other information for SCSI objects.
+ Display information for all the LUN paths to a LUN.
+ Get, set and save attributes for SCSI objects.
+ Add, remove and list settable attribute scopes for drivers
+ Validate the change of LUN associated to a LUN path (replace WWID).
+ Validate the change of LUN associated to a legacy DSF (replace a
legacy DSF).
+ Disable or enable SCSI objects.
+ Perform SCSI task management functions such as LUN reset, cold
target reset, warm target reset.
+ Set or get the user friendly character string identifying a LUN
(helpful when the LUN is relocated).
+ Synchronize cache for block devices.
+ Erase blocks of optical memory devices.
+ Inquire SCSI devices for its characteristics

Thanks,
Aneesh