- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- HBA Information
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2013 07:49 AM
08-01-2013 07:49 AM
HBA Information
First of all, I'm pretty new to this community, but you guys are awesome in responding to my queries. Thank you so much for that.
Second, I want to check if some one could through some light on finding this info on Linux (SUSE and Redhat)
1. HBA Firmware
2. Driver Check
3. HBA Driver
4. HBA Check
5. HBA Model
6. Firmware Check
7. PowerPath Version
I know, I'm asking little too much, but I will really appreciate if you can do your best in providing this info. Thank you in advance.
- Tags:
- HBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2013 08:35 AM
08-01-2013 08:35 AM
Re: HBA Information
(Your question is a little vague: if point 1.) is HBA Firmware, and 4.) is HBA Check, what exactly do you want to check about the HBA? Existence? Link state? Speed? WWN? All of the above?)
You should start with the 'lspci' command, to verify that the card is actually present.
In Linux, all drivers (including HBA drivers) are usually kernel modules.
Once you know the name of the driver module that handles your HBA, use "modinfo <module name>" to view (among other things) the version number of the driver module.
Common FibreChannel HBA driver names are "lpfc" (for Emulex FC HBAs) and "qla2xxx" (for Qlogic FC HBAs).
To verify that the module is loaded, use "lsmod".
Linux kernel major version 2.6 introduced the /sys pseudo-filesystem. In the earliest 2.6.x kernel versions, the /sys filesystem conventions for FC HBAs were still taking shape, but with practically all modern kernels, you'll find information on detected FC HBAs within /sys/class/fc_host/host* directories. For each detected HBA, you will find at least a link that points to the /sys/devices sub-tree; this link will allow you to identify the HBA by its PCI bus ID.
From the /sys/class/fc_host/host* directories you will usually find the WWNs of the HBA, and the link state information (is the card online or not, and which speed is it using).
In a sense, Linux treats FC HBAs as a subclass of SCSI controllers. If the information you're looking for is not at /sys/class/fc_host/hostX directory, check the respective /sys/class/scsi_host/hostX directory too. The card model information and HBA firmware version number can usually be found here.
Before 2.6.x kernel series, much of this information used to be available at /proc/scsi/<module name>/* as text files with module-specific content. With the early 2.6.x series this method was still used by some drivers, but eventually all drivers were switched to use the /sys pseudo-filesystem.
Regarding PowerPath: it is installed using RPM packages, and the RPM package name includes the version number.
So, you could check the version by using the "rpm" command like this:
rpm -qa |grep ^EMCpower
If the PowerPath is currently installed, you can also have PowerPath report its version number by using the "powermt version" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2013 06:48 AM
09-03-2013 06:48 AM
Re: HBA Information
here can get infomation if you have a Qlogic adapter
#cat /proc/scsi/qlaxxx/<host_adapter_port>
You can get the basic Fibre Channel info
# systool -c fc_host -v