accessing HBA details


 
Thread Tools Search this Thread
Operating Systems Solaris accessing HBA details
# 1  
Old 09-03-2009
accessing HBA details

Hi all,

I managed to get WWN port number & node from trying on
luxadm -e port
luxadm -e dump_map <device>

I wanted to ask how can i get additional information such as company name, size etc of the HBA? Is it possible to get it through command? Thanks.
# 2  
Old 09-03-2009
for Solaris 10,
Code:
root # fcinfo hba-port -l 

HBA Port WWN: 10000000c957d408 ==> Local HBA1 
OS Device Name: /dev/cfg/c4

Manufacturer: Emulex

Model: LP11000-E

Type: N-port

State: online

Supported Speeds: 1Gb 2Gb 4Gb 

Current Speed: 2Gb 

Node WWN: 20000000c957d408

Link Error Statistics:

Link Failure Count: 0

Loss of Sync Count: 37

Loss of Signal Count: 0

Primitive Seq Protocol Error Count: 0

Invalid Tx Word Count: 32

Invalid CRC Count: 0


OR


#prtconf -vp | more

Node 0xf00e2f80
assigned-addresses:  81000810.00000000.00000300.00000000.00000100.82000814.00000000.00100000.00000000.00002000.82000830.00000000.00140000.00000000.00040000
version: ‘QLA2460 Host Adapter Driver(SPARC): 1.11 10/03/05”²
manufacturer:  ‘QLGC'
model:  ‘QLA2460 ‘
name:  ‘SUNW,qlc'
port-wwn:  2100001b.3202f94b
node-wwn:  2000001b.3202f94b
reg:  00000800.00000000.00000000.00000000.00000000.01000810.00000000.00000000.00000000.00000100.02000814.00000000.00000000.00000000.00001000
compatible: ‘pci1077,140.1077.140.2”² + ‘pci1077,140.1077.140”² + ‘pci1077,140”² + ‘pci1077,2422.2”² + ‘pci1077,2422”² + ‘pciclass,c0400”² + ‘pciclass,0400”²
short-version:  ‘1.11 10/03/05”²

<output truncated>
# 3  
Old 09-04-2009
Thanks incredible, the command work fine with almost all the server.

However, in some server, i am facing this problem that prtconf -vp do shows some HBA ports but i cannot seem to match the WWN port/node number in prtconf -vp with WWN port/node number from luxadm -e dump_map.

Thanks again for any reply.
# 4  
Old 09-04-2009
Hi

Here's a list of different commands which give you lots of details :-
Code:
# grep qlc /var/adm/messages.* | grep WW
/var/adm/messages.1:Aug 25 11:20:55 svx-m5000gz-2 qlc: [ID 657001 kern.info] Qlogic qlc(0) WWPN=2100001b321bb9d3 : WWNN=2000001b321bb9d3
/var/adm/messages.1:Aug 25 11:21:08 svx-m5000gz-2 qlc: [ID 657001 kern.info] Qlogic qlc(1) WWPN=2101001b323bb9d3 : WWNN=2001001b323bb9d3

Display all HBA;s within server.

root@svx-m5000gz-2 # luxadm -e port
/devices/pci@1,700000/SUNW,qlc@0/fp@0,0:devctl******************** NOT CONNECTED
/devices/pci@1,700000/SUNW,qlc@0,1/fp@0,0:devctl****************** NOT CONNECTED

And

root@svx-m5000gz-2 # prtdiag -v | grep -i qlc
00* PCIe* 1****** 3, 2432, 1077****** 2,* 0,* 0* okay**** 4,*** 4* SUNW,qlc-pciex1077,2432******* QLE2462** /pci@1,700000/SUNW,qlc@0
00* PCIe* 1****** 3, 2432, 1077****** 2,* 0,* 1* okay**** 4,*** 4* SUNW,qlc-pciex1077,2432******* QLE2462** /pci@1,700000/SUNW,qlc@0,1

************************************* ^ This column shows you the number of the HBA Card qlc0 / qlc1**     ^ This column shows devices

The above shows two qlc cards, with their related devices, remebering the devices, you then run

root@svx-m5000gz-2 #* prtpicl -v -c scsi-fcp | /usr/xpg4/bin/grep -e port-wwn -e devfs-path
* :port-wwn***** 21* 00* 00* 1b* 32* 1b* b9* d3* :devfs-path*** /pci@1,700000/SUNW,qlc@0
* :port-wwn***** 21* 01* 00* 1b* 32* 3b* b9* d3**:devfs-path*** /pci@1,700000/SUNW,qlc@0,1

This command shows the two devices with their related WWN numbers.* Remebering the WWN numbers, you run the below to get the WWPN
*********************************** 
root@svx-m5000gz-2 # fcinfo hba-port
HBA Port WWN: 2100001b321bb9d3
******* OS Device Name: /dev/cfg/c1****<----------------- Controller id*within OS - .i.e. c1t0d0s0
******* Manufacturer: QLogic Corp.
******* Model: 375-3356-02
******* Firmware Version: 4.04.01
******* FCode/BIOS Version:* BIOS: 1.24; fcode: 1.24; EFI: 1.8;
******* Serial Number: 0402R00-0830542474
******* Driver Name: qlc
******* Driver Version: 20090415-2.30
******* Type: N-port
******* State: online
******* Supported Speeds: 1Gb 2Gb 4Gb
******* Current Speed: 4Gb
******* Node WWN: 2000001b321bb9d3 <----------------- WWPN 
HBA Port WWN: 2101001b323bb9d3
******* OS Device Name: /dev/cfg/c2 <----------------- Controller id*within OS - .i.e. c2t0d0s0
******* Manufacturer: QLogic Corp.
******* Model: 375-3356-02
******* Firmware Version: 4.04.01
******* FCode/BIOS Version:* BIOS: 1.24; fcode: 1.24; EFI: 1.8;
******* Serial Number: 0402R00-0830542474
******* Driver Name: qlc
******* Driver Version: 20090415-2.30
******* Type: unknown
******* State: offline
******* Supported Speeds: 1Gb 2Gb 4Gb
******* Current Speed: not established
******* Node WWN: 2001001b323bb9d3 <----------------- WWPN

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

2. Solaris

How to enable hba port of a two port hba card

Hi, i have a two port hba card in solaris 10 system one of which is disabled. How to enable and configure the other port. ---------- Post updated at 08:17 AM ---------- Previous update was at 03:40 AM ---------- please help :( (7 Replies)
Discussion started by: rishiraaz
7 Replies

3. Solaris

HBA problem...? at SF V890

Dear All, I need your help. I have server like this SunOS 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V890 with messages like this... Oct 10 17:07:52 iscsi: NOTICE: unrecognized ioctl 0x403 Oct 10 17:07:52 scsi: WARNING: /pseudo/fcp@0 (fcp0): Oct 10 17:07:52 Invalid... (4 Replies)
Discussion started by: mbah_jiman
4 Replies

4. Solaris

hba speed Solaris 9

Hello, In Solaris 10 I can use fcinfo to find what speed the hba ports are running at, am I able to find this out using Solaris 9? I have tried a few variations on luxadm but cant find anything relevant. Thanks. (1 Reply)
Discussion started by: Actuator
1 Replies

5. Solaris

Offline HBA.

Hi, I have a HBA that is currently offline for some unknown reason. The device shows up in the prtdiag -v stating it is okay. How can I bring this back online? It was working okay until recently. It is currently connected to the SAN. Details below. # fcinfo hba-port HBA Port WWN:... (7 Replies)
Discussion started by: sparcman
7 Replies

6. Filesystems, Disks and Memory

HBA performance

Hope I'm in the right place. I'm in the process of zoning HBA's to my new library environment. Is there a "rule of thumb" for the number of physical tape drives that you zone to an HBA? I don't want to run the risk of overloading an HBA. Any information would be greatly appreciated. Thanks. (2 Replies)
Discussion started by: jwholey
2 Replies

7. Solaris

Command to get the details and number of HBA cards

Hiii... Every one.... I want to know the command to get the details and number of HBA cards attached to a server. I know that we can use "powermt display", but nither my cards are connected to the storage nor powerpath is active. I am using SUN server with Solaris -9. Thanks in... (4 Replies)
Discussion started by: Reboot
4 Replies

8. Solaris

What is an HBA..?

Helo experts What is an HBA? How can i know about that on any server? Thanx in advance... (7 Replies)
Discussion started by: younus_syed
7 Replies

9. Solaris

HBA Card

Hello...I got a problem here. I have HBAs installed in one of the domains in E20 and I gotta find out the brand and firmware. But when I do a prtconf, I cannot see the HBA. For other servers installed with HBAs, when I do prtconf on them I can see either qlc or em. Can you guys enlighten me how to... (5 Replies)
Discussion started by: xiaochensg
5 Replies

10. Solaris

How to get HBA details in Solaris 9 ?

Hi , How can I collect information about any Hardware , specially HBA (Host Bus Adapter) .... I tried prtdiag but it is not shoing the HBA details. Regards (4 Replies)
Discussion started by: adel8483
4 Replies
Login or Register to Ask a Question