Link to home
Start Free TrialLog in
Avatar of Durgesh Jha
Durgesh Jha

asked on

How to check for free slots in HBA in solaris 10 .

i would like to know whether any additional slots are available for HBA card in Solaris node (2 Dual port or 1 Quad 4 port HBA). How to check free slots .

1. fcinfo hba-port showing all ports being used
2. luxadm -e port showing one path as not connected .

luxadm -e port
/devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      CONNECTED
/devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED
/devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
Avatar of arnold
arnold
Flag of United States of America image

prtconf

which system (hardware do you have)? that will tell you how many resources your HW has, and based on used slots ...

devfsadm ...

solaris 10 is the OS, ....
prtconf will enumerate a great deal of data, but it will not necessarily tell what ports are empty on all HBAs.  That is because some HBAs effectively put ports in parallel and there is no electrical difference between the two. You can generally find out by simply looking at the board and seeing whether or not each port has a controller chip associated with it.  (But you have to cross reference the part number markings on the chip to see the internal block design).  

looking at the output, you have a qlogic FC controller.  Do you have the /etc/hba.conf file installed with the older SNIA smhba-api program?  It used to be a separate optional download that one could use which would give you the ability to do full port enumeration.
David,

I think the person is looking on whether there are any available slots on the MB/System for additional HBA's rather than available ports (not-used) on installed HBA's.

The enumeration of available ports on an HBA is illustrated in the question through the use of the HBA specific tool, fcinfo, luxadmin, ...
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.