<?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 Re: hba offline in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275252#M81216</link>
    <description>&lt;!--!*#--&gt;Capture in a file the following. chmod +x. Run. It should show you your FC HBAs, if they're online, speed, HBA WWID and the Switch Port each is connected to (if connected):&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Display available FC Ports and their WWIDS&lt;BR /&gt;echo "show_hbas.ksh"&lt;BR /&gt;echo "v.0.1  Alzhy MegaCruel (CopyLeft  02/2010)"&lt;BR /&gt;echo " "&lt;BR /&gt;for hba in `ls -d /sys/class/fc_host/host*`;do&lt;BR /&gt;FC_HOST=`basename $hba`&lt;BR /&gt;PortID=`cat $hba/port_id`&lt;BR /&gt;wwid=`cat $hba/port_name`&lt;BR /&gt;state=`cat $hba/port_state`&lt;BR /&gt;speed=`cat $hba/speed`&lt;BR /&gt;hba=`cat $hba/symbolic_name`&lt;BR /&gt;cat &amp;lt;&lt;EOB&gt;&lt;/EOB&gt;FC-Host: $FC_HOST ($hba)&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;HBA WWID :  $wwid                 PortId: $PortID&lt;BR /&gt;HBA State:  $state                             Speed : $speed&lt;BR /&gt;&lt;BR /&gt;EOB&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Feb 2011 18:51:53 GMT</pubDate>
    <dc:creator>Zinky</dc:creator>
    <dc:date>2011-02-28T18:51:53Z</dc:date>
    <item>
      <title>hba offline</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275251#M81215</link>
      <description>Hallo,&lt;BR /&gt;after some issues i reboot my HP with redhat server and now i can't see my luns ,&lt;BR /&gt;SAN technician said me that can't see my wwn online ..&lt;BR /&gt;can anyone help me ?&lt;BR /&gt;&lt;BR /&gt;Thanks is advance</description>
      <pubDate>Mon, 28 Feb 2011 17:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275251#M81215</guid>
      <dc:creator>UNIX_HP</dc:creator>
      <dc:date>2011-02-28T17:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: hba offline</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275252#M81216</link>
      <description>&lt;!--!*#--&gt;Capture in a file the following. chmod +x. Run. It should show you your FC HBAs, if they're online, speed, HBA WWID and the Switch Port each is connected to (if connected):&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Display available FC Ports and their WWIDS&lt;BR /&gt;echo "show_hbas.ksh"&lt;BR /&gt;echo "v.0.1  Alzhy MegaCruel (CopyLeft  02/2010)"&lt;BR /&gt;echo " "&lt;BR /&gt;for hba in `ls -d /sys/class/fc_host/host*`;do&lt;BR /&gt;FC_HOST=`basename $hba`&lt;BR /&gt;PortID=`cat $hba/port_id`&lt;BR /&gt;wwid=`cat $hba/port_name`&lt;BR /&gt;state=`cat $hba/port_state`&lt;BR /&gt;speed=`cat $hba/speed`&lt;BR /&gt;hba=`cat $hba/symbolic_name`&lt;BR /&gt;cat &amp;lt;&lt;EOB&gt;&lt;/EOB&gt;FC-Host: $FC_HOST ($hba)&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;HBA WWID :  $wwid                 PortId: $PortID&lt;BR /&gt;HBA State:  $state                             Speed : $speed&lt;BR /&gt;&lt;BR /&gt;EOB&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2011 18:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275252#M81216</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2011-02-28T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: hba offline</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275253#M81217</link>
      <description>thaks a lot,&lt;BR /&gt;the cable was disconnected,&lt;BR /&gt;otherwise thanks for the script !!</description>
      <pubDate>Mon, 28 Feb 2011 18:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275253#M81217</guid>
      <dc:creator>UNIX_HP</dc:creator>
      <dc:date>2011-02-28T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: hba offline</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275254#M81218</link>
      <description>all ok</description>
      <pubDate>Mon, 28 Feb 2011 18:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hba-offline/m-p/5275254#M81218</guid>
      <dc:creator>UNIX_HP</dc:creator>
      <dc:date>2011-02-28T18:54:15Z</dc:date>
    </item>
  </channel>
</rss>

