Linux HBA Commands (includinf WWN information)

Posted on 2008-11-11
Last Modified: 2013-12-16
Looking for any commands that would allow me to see HBA Information in Linux -

Emulex and Qlogic HBAs

Don't be shy - give me as many as you can please -


host info:

Linux lh??????.l???.??????.com 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux
Question by:mo2169

    Author Comment

    Thanks jools -

    Good info there - but it didn't give me the WWN info -
    Gave mostly disk info -

    thanks again though -
    LVL 19

    Expert Comment


    Unfortunately I'm not in the office this week or I could hook up a load of fibre disk to a system and have a play with some real examples myself.
    LVL 19

    Accepted Solution

    If you have hal enabled you might be able to see if there is anything in lshal.

    Author Comment

    Great - Thanks

    Able to find the WWN -
    LVL 1

    Expert Comment

    -- Emulex --
    Download the utilities from the Emulex web site or copy them to the system from the installation CD.

    Install the Emulex driver for Linux

    Install the HBAnyware configuration utility and the Application Helper Module

    The HBAnyware utilty will show the information you need.

    -- Qlogic --
    Download the scli-x.xx.xx-xx.i386.rpm.gz file (from the QLogic Web site or the FC HBA Manager CD-ROM) to your local machine. In the file name, x.xx.xx stands for the current version of SANsurfer FC HBA CLI.

    This tool is great for troubleshooting qlogic HBAs and gives you tons of information.

    The qlogic driver is most likely already loaded into your kernel by your distro default setup.
    Of course, you can also download the newest driver from the qlogic site.

    -- All --
    If all you need is the wwn you can reboot the machine and enter the HBA BIOS utility (probably Ctrl+R) and you will find it there.

    Author Comment

    Thanks MP022 -
    LVL 19

    Expert Comment

    I don't normally do this but I got the impression that this was successfully answered in #22935429, and that the responses given were generally helpful.

    Perhaps a moderator could take a look and decide, I will go with a moderators decision.


    Author Comment

    All set  -thanks to all
    LVL 19

    Expert Comment

    Hi modus_operandi,

    The message associated with the question was that it  was going to be closed and no points awarded which I didnt think was playing the "EE" game. Now I don't usually complain but in this instance I didnt think it was fair.

    Extract from the email;
    A question you participated in will be closed in four days:

      QUESTION: Linux HBA Commands (includinf WWN information)
      ZONE: Linux Setup
      REASON: All set

    mo2169 has requested that this question be closed.

    If you object to this action, you have four days to post a comment
    describing your objection. This will generate a request in Community Support for
    Moderator review. If no Expert objects, this question will be closed as described

    Surely, if points were slated for anyone it would have just been a matter of the originator assigning points to one or more responses and not asking for the answered question to be closed.... or have I missed a post somewhere?

    FWIW, I'm not even saying that I should be awarded any of the points, it may be that mp022 gave the correct response.

    I don't know what the reason "All Set" means, but if you read the posts, you will probably (as I did) get the impression that the question was successfully answered.

    I guess the rest, as they say, is up to you!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now