Visit Our UNIX and Linux User Community


HBA cards on older FreeBSD's


 
Thread Tools Search this Thread
Operating Systems BSD HBA cards on older FreeBSD's
# 1  
Old 06-05-2011
HBA cards on older FreeBSD's

Hi,

The title is a bit misleading, but it seems I can't re-edit the title after creating the post - apologies.

I have been handed a variety of servers, whereas quite a few of these are older FreeBSD (4.8, thank you legacy). I now have one of these servers which has a HBA card installed, and I'd like to find its WWN.

On Solaris and HP-UX this would be a rather simple task with fcinfo and ioscan, but as to do it on FreeBSD leaves me a bit perplexed after some google'ing. The advice which keeps coming back is to boot the server with "boot -v", but I really can't see it should be necessary to boot the server to get a simple value.

What I have found so far is this cumbersome and it doesn't really pin the tail on the donkey:

See if a HBA card's installed
Code:
#pciconf -lv
...output omitted...
isp0@pci1:2:0:  class=0x0c0400 card=0x00091077 chip=0x23001077 rev=0x01 hdr=0x00
    vendor   = 'QLogic Corporation'
    device   = 'ISP 2300 64-bit PCI FC-AL Adapter'
    class    = serial bus
    subclass = Fibre Channel
...output omitted...

Ok, fine - no WWN there but we know there's something there! Next, I peak in /var/run/dmesg.boot:

Code:
#grep 'isp0:' /var/run/dmesg.boot 
...output omitted...
isp0: <Qlogic ISP 2300 PCI FC-AL Adapter> port 0xa400-0xa4ff mem 0xdc240000-0xdc240fff irq 9 at device 2.0 on pci1
...output omitted...

Again, nothing conclusive. I next grep'd for "WWN" in the same file, which yielded several WWN's, in hexadecimal format, and there was several, about 6-7 and there is literally no way to map these WWN to their respective devices.

Do any of you have a good idea of what tool(s) to use (or install) in order to make this a bit more trivial? So far, google haven't really been overly helpful. I really just want to be able to map WWN <-> device without having to reinvent the wheel.

Thanks in advance,
/b

Last edited by brightstorm; 06-05-2011 at 08:36 PM.. Reason: Emphasize misleading title

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Command for viewing hba cards on rhel7

hi all, I am trying to view the hba cards on a rhel7 server (storage says they are there, but I am not seeing them. I tried lspci -nn | grep -i hba lspci |grep qla I tried looking in /sys/class/fc_host.. but it is empty. I am not sure if I am looking in the right spot... (0 Replies)
Discussion started by: gartie
0 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. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

4. 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

5. 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

6. Solaris

How do I know which HBA cards' hardware I have (on Solaris 10) ?

Hi, I'm trying to determine which HBA cards are installed on my Solaris 10 (Sun-Fire-V240) machine. The relevant data I have is below, but from it I cannot ascertain for sure if I have Emulex 10000 or 11000 HBA cards. Can anyone suggest how to determine my HBA hardware ? Thanks, Ron. ... (4 Replies)
Discussion started by: ronbarak
4 Replies

7. UNIX for Advanced & Expert Users

How do I know which HBA cards' hardware I have (on Solaris 10) ?

Hi, I'm trying to determine which HBA cards are installed on my Solaris 10 (Sun-Fire-V240) machine. The relevant data I have is below, but from it I cannot ascertain for sure if I have Emulex 10000 or 11000 HBA cards. Can anyone suggest how to determine my HBA hardware ? Thanks, Ron. ... (3 Replies)
Discussion started by: ronbarak
3 Replies

8. Solaris

Help! Moving HBA cards to different slots

Due to speed mismatch, the server kept crashing. Sun suggests that I need to move the two HBA cards from the 66Mhz to the 33Mhz slots. There are tons of disks that are connected to these HBAs and I have Veritas volume manager. Does anyone have a list of what I need to do prior/after moving to... (3 Replies)
Discussion started by: kiem
3 Replies

9. Solaris

VxVM/Hba cards/Solaris 10 FS issue

Hi all, I have a compatibly issues with a new hardware My config is the following one : Solaris 10 V490 Hardware 2 X HBA Qlogic 2310f cards An HP EVA 5000 for storage ... Veritas VxVM 4.1 MP1 When I reboot my server, VxVM is trying to mount/use the volume before it's... (0 Replies)
Discussion started by: unclefab
0 Replies

10. Solaris

Moving HBA cards to different PCI slots

Has anyone ever relocated an HBA card after already having it configured in another PCI slot? I've found that the HBA instance #'s start incrementing past the previous. It results in me having to have my instance numbers in /kernel/drv/qla2300.conf be 4,5,6,7 instead of 0,1,2,3. Cleanup with... (5 Replies)
Discussion started by: kduffin
5 Replies

Featured Tech Videos