<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HBA Information in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6155715#M54385</link>
    <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, I want to check if some one could through some light on finding this info on Linux (SUSE and Redhat)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. HBA Firmware&lt;/P&gt;&lt;P&gt;2. Driver Check&lt;/P&gt;&lt;P&gt;3. HBA Driver&lt;/P&gt;&lt;P&gt;4. HBA Check&lt;/P&gt;&lt;P&gt;5. HBA Model&lt;/P&gt;&lt;P&gt;6. Firmware Check&lt;/P&gt;&lt;P&gt;7. PowerPath Version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2013 14:49:33 GMT</pubDate>
    <dc:creator>Sam1586</dc:creator>
    <dc:date>2013-08-01T14:49:33Z</dc:date>
    <item>
      <title>HBA Information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6155715#M54385</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, I want to check if some one could through some light on finding this info on Linux (SUSE and Redhat)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. HBA Firmware&lt;/P&gt;&lt;P&gt;2. Driver Check&lt;/P&gt;&lt;P&gt;3. HBA Driver&lt;/P&gt;&lt;P&gt;4. HBA Check&lt;/P&gt;&lt;P&gt;5. HBA Model&lt;/P&gt;&lt;P&gt;6. Firmware Check&lt;/P&gt;&lt;P&gt;7. PowerPath Version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6155715#M54385</guid>
      <dc:creator>Sam1586</dc:creator>
      <dc:date>2013-08-01T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: HBA Information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6155773#M54386</link>
      <description>&lt;P&gt;(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?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should start with the 'lspci' command, to verify that the card is actually present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Linux, all drivers (including HBA drivers) are usually kernel modules.&lt;/P&gt;&lt;P&gt;Once you know the name of the driver module that handles your HBA, use "modinfo &amp;lt;module name&amp;gt;" to view (among other things) the version number of the driver module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Common FibreChannel HBA driver names are "lpfc" (for Emulex FC HBAs) and "qla2xxx" (for Qlogic FC HBAs).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To verify that the module is loaded, use "lsmod".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before 2.6.x kernel series, much of this information used to be available at /proc/scsi/&amp;lt;module name&amp;gt;/* 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding PowerPath: it is installed using RPM packages, and the RPM package name includes the version number.&lt;/P&gt;&lt;P&gt;So, you could check the version by using the "rpm" command like this:&lt;/P&gt;&lt;PRE&gt;rpm -qa |grep ^EMCpower&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If the PowerPath is currently installed, you can also have PowerPath report its version number by using the "powermt version" command.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2013 15:35:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6155773#M54386</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-08-01T15:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: HBA Information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6192329#M54406</link>
      <description>&lt;P&gt;here can get infomation if you have a Qlogic adapter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#cat /proc/scsi/qlaxxx/&amp;lt;host_adapter_port&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the basic Fibre Channel info &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# systool -c fc_host -v&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-information/m-p/6192329#M54406</guid>
      <dc:creator>irshad_m</dc:creator>
      <dc:date>2013-09-03T13:48:27Z</dc:date>
    </item>
  </channel>
</rss>

