<?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: Convert HW path to device name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065649#M306629</link>
    <description>Not really.&lt;BR /&gt;&lt;BR /&gt;The only part of the hw path reflected in the device file is &lt;BR /&gt;&lt;BR /&gt;0.4.1&lt;BR /&gt;&lt;BR /&gt;out of&lt;BR /&gt;&lt;BR /&gt;0/0/12/1/0/4/0.110.27.19.0.4.1&lt;BR /&gt;&lt;BR /&gt;The part "0.4.1" indicates a LUN# 31 and will result in a device file&lt;BR /&gt;&lt;BR /&gt;cxt4d1&lt;BR /&gt;&lt;BR /&gt;The "x" depends.&lt;BR /&gt;&lt;BR /&gt;But you can run&lt;BR /&gt;&lt;BR /&gt;"ioscan -fnH 0/0/12/1/0/4/0.110.27.19.0.4.1"&lt;BR /&gt;&lt;BR /&gt;and awk/grep the device file from the result.</description>
    <pubDate>Wed, 05 Sep 2007 11:23:27 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2007-09-05T11:23:27Z</dc:date>
    <item>
      <title>Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065647#M306627</link>
      <description>Good day,&lt;BR /&gt;&lt;BR /&gt;Is there a fast way to convert a HW path from ioscan to the device name associated to be used within a script.&lt;BR /&gt;&lt;BR /&gt;Example: 0/0/12/1/0/4/0.110.27.19.0.4.1 is /dev/dsk/c26t4d1&lt;BR /&gt;&lt;BR /&gt;Actually I am looking for a simple HP-UX command that will return the /dev/dsk/c26t4d1 for 0/0/12/1/0/4/0.110.27.19.0.4.1 entered&lt;BR /&gt;&lt;BR /&gt;Is that possible ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065647#M306627</guid>
      <dc:creator>Jean-Marc Beaudoin_1</dc:creator>
      <dc:date>2007-09-05T11:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065648#M306628</link>
      <description>ioscan -H 0/0/12/1/0/4/0.110.27.19.0.4.1 -fn&lt;BR /&gt;&lt;BR /&gt;and a little Perl or awk should get you there.</description>
      <pubDate>Wed, 05 Sep 2007 11:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065648#M306628</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-05T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065649#M306629</link>
      <description>Not really.&lt;BR /&gt;&lt;BR /&gt;The only part of the hw path reflected in the device file is &lt;BR /&gt;&lt;BR /&gt;0.4.1&lt;BR /&gt;&lt;BR /&gt;out of&lt;BR /&gt;&lt;BR /&gt;0/0/12/1/0/4/0.110.27.19.0.4.1&lt;BR /&gt;&lt;BR /&gt;The part "0.4.1" indicates a LUN# 31 and will result in a device file&lt;BR /&gt;&lt;BR /&gt;cxt4d1&lt;BR /&gt;&lt;BR /&gt;The "x" depends.&lt;BR /&gt;&lt;BR /&gt;But you can run&lt;BR /&gt;&lt;BR /&gt;"ioscan -fnH 0/0/12/1/0/4/0.110.27.19.0.4.1"&lt;BR /&gt;&lt;BR /&gt;and awk/grep the device file from the result.</description>
      <pubDate>Wed, 05 Sep 2007 11:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065649#M306629</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-05T11:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065650#M306630</link>
      <description>tks all &lt;BR /&gt;&lt;BR /&gt;$disks = system("ioscan -H $device -fn|grep dsk");&lt;BR /&gt;&lt;BR /&gt;returns only the /dev/dsk and /dev/rdsk entry which is EXACLTY what I was looking or.&lt;BR /&gt;&lt;BR /&gt;Retards,&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065650#M306630</guid>
      <dc:creator>Jean-Marc Beaudoin_1</dc:creator>
      <dc:date>2007-09-05T11:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065651#M306631</link>
      <description>Consider to assign some points, please read&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Wed, 05 Sep 2007 12:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065651#M306631</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-05T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HW path to device name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065652#M306632</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;ioscan -funC disk -H ${hw} | tail -1 | awk '{print $NF}'&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 05 Sep 2007 12:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-hw-path-to-device-name/m-p/4065652#M306632</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-09-05T12:46:13Z</dc:date>
    </item>
  </channel>
</rss>

