<?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: How to identify disk hardware path from device file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438839#M356943</link>
    <description>I just noticed that another place they show up is in &lt;BR /&gt;&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;But it does not guarantee that it will have the mirror disk in there. &lt;BR /&gt;lssf is the best way to go.</description>
    <pubDate>Mon, 15 Jun 2009 14:56:21 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2009-06-15T14:56:21Z</dc:date>
    <item>
      <title>How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438830#M356934</link>
      <description>&lt;BR /&gt;This is rx4640 running 11.23&lt;BR /&gt;from the disk device file such as /dev/dsk/c3t0d0, I need to get the hardware path programmatically. Is there an ioscan option that will combine the two?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#: ioscan -funC disk&lt;BR /&gt;Class     I  H/W Path       Driver     S/W State   H/W Type     Description&lt;BR /&gt;============================================================================&lt;BR /&gt;disk      0  0/0/3/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-B&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t1d0     /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s2&lt;BR /&gt;                           /dev/dsk/c2t1d0s1   /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s1  /dev/rdsk/c2t1d0s3&lt;BR /&gt;disk      1  0/1/1/1.0.0    sdisk      CLAIMED     DEVICE       HP 73.4GMAU3073NC&lt;BR /&gt;                           /dev/dsk/c3t0d0     /dev/dsk/c3t0d0s2   /dev/rdsk/c3t0d0    /dev/rdsk/c3t0d0s2&lt;BR /&gt;                           /dev/dsk/c3t0d0s1   /dev/dsk/c3t0d0s3   /dev/rdsk/c3t0d0s1  /dev/rdsk/c3t0d0s3&lt;BR /&gt;disk      3  0/2/1/0.4.124.0.0.4.0  sdisk      CLAIMED     DEVICE       HITACHI OPEN-V&lt;BR /&gt;                           /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0&lt;BR /&gt;disk      4  0/3/1/0.3.124.0.0.4.0  sdisk      CLAIMED     DEVICE       HITACHI OPEN-V&lt;BR /&gt;                           /dev/dsk/c6t4d0   /dev/rdsk/c6t4d0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 18:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438830#M356934</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-06-12T18:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438831#M356935</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;ioscan -fnCdisk&lt;BR /&gt;/dev/dsk/c4t4d0   -- c4 refers to teh Controller Instance number 4, t$-- SCSI target ID 4 and d0 - LUN ID 0.&lt;BR /&gt;and 0/2/1/0.4.124.0.0.4.0 is the hardware path of the disk.&lt;BR /&gt;The second column in ioscan -fnCdisk is the HW_path for the disk.&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC ext_bus&lt;BR /&gt;&lt;BR /&gt;shows you the Interface Instances in which at Instcnace 4 you shall find the Controller to which the disk /dev/dsk/c3t0d0 is attached.&lt;BR /&gt;0/2/1/0 is the hardware path of the controller to which the Disk is connected, can be SCSI or FC interface.&lt;BR /&gt;&lt;BR /&gt;The second column in the ioscan -fnCext_bus is the HW_Path of the Interface.&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 18:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438831#M356935</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-06-12T18:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438832#M356936</link>
      <description>&lt;!--!*#--&gt;you can run print_manifest and then view the "Disk Layout" section. &lt;BR /&gt;&lt;BR /&gt;Disk layout&lt;BR /&gt;&lt;BR /&gt;    LVM disk                   Device file        HW Addr      size   vol. grp&lt;BR /&gt;    IBM DMVS09D                /dev/dsk/c1t0d0    0/0/1/1.0.0  8683   /dev/vg01&lt;BR /&gt;    IBM DMVS09D                /dev/dsk/c2t0d0    0/0/2/0.0.0  8683   /dev/vg01&lt;BR /&gt;    SEAGATE ST318404LC         /dev/dsk/c1t2d0    0/0/1/1.2.0  17366  /dev/vg00&lt;BR /&gt;    IBM DMVS18D                /dev/dsk/c2t2d0    0/0/2/0.2.0  17366  /dev/vg00&lt;BR /&gt;    SEAGATE ST39102LC          /dev/dsk/c4t0d0    0/4/0/0.0.0  8683   /dev/vg02&lt;BR /&gt;    SEAGATE ST39204LC          /dev/dsk/c5t0d0    0/7/0/0.0.0  8683   /dev/vg02&lt;BR /&gt;    IBM DMVS09D                /dev/dsk/c4t1d0    0/4/0/0.1.0  8683   /dev/vg04&lt;BR /&gt;    IBM DMVS09D                /dev/dsk/c5t3d0    0/7/0/0.3.0  8683   /dev/vg04&lt;BR /&gt;    SEAGATE ST39204LC          /dev/dsk/c4t3d0    0/4/0/0.3.0  8683   /dev/vg03&lt;BR /&gt;    SEAGATE ST39204LC          /dev/dsk/c5t2d0    0/7/0/0.2.0  8683   /dev/vg03&lt;BR /&gt;    HP 73.4GATLAS10K3_73_SCA   /dev/dsk/c4t13d0   0/4/0/0.13.0 70007  /dev/vg05&lt;BR /&gt;    HP 73.4GATLAS10K3_73_SCA   /dev/dsk/c5t1d0    0/7/0/0.1.0  70007  /dev/vg05&lt;BR /&gt;    non-LVM disk               Device file        HW Addr      size   swap&lt;BR /&gt;    HP DVD-ROM 304             /dev/dsk/c3t2d0    0/0/2/1.2.0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 18:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438832#M356936</guid>
      <dc:creator>uwoodyjk</dc:creator>
      <dc:date>2009-06-12T18:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438833#M356937</link>
      <description>The following command will give you the hardware path and the character device file from the ioscan output.&lt;BR /&gt;&lt;BR /&gt;# ioscan -funC disk |  tr -s '[:space:]'| cut -f 3 -d " "&lt;BR /&gt;&lt;BR /&gt;H/W&lt;BR /&gt;======================================================================&lt;BR /&gt;0/0/1/1.0.0&lt;BR /&gt;/dev/rdsk/c1t0d0&lt;BR /&gt;0/0/1/1.2.0&lt;BR /&gt;/dev/rdsk/c1t2d0&lt;BR /&gt;0/0/2/0.0.0&lt;BR /&gt;/dev/rdsk/c2t0d0&lt;BR /&gt;0/0/2/0.2.0&lt;BR /&gt;/dev/rdsk/c2t2d0&lt;BR /&gt;0/0/2/1.2.0&lt;BR /&gt;/dev/rdsk/c3t2d0&lt;BR /&gt;0/4/0/0.0.0&lt;BR /&gt;/dev/rdsk/c4t0d0&lt;BR /&gt;0/4/0/0.1.0&lt;BR /&gt;/dev/rdsk/c4t1d0&lt;BR /&gt;0/4/0/0.3.0&lt;BR /&gt;/dev/rdsk/c4t3d0&lt;BR /&gt;0/4/0/0.13.0&lt;BR /&gt;/dev/rdsk/c4t13d0&lt;BR /&gt;0/7/0/0.0.0&lt;BR /&gt;/dev/rdsk/c5t0d0&lt;BR /&gt;0/7/0/0.1.0&lt;BR /&gt;/dev/rdsk/c5t1d0&lt;BR /&gt;0/7/0/0.2.0&lt;BR /&gt;/dev/rdsk/c5t2d0&lt;BR /&gt;0/7/0/0.3.0&lt;BR /&gt;/dev/rdsk/c5t3d0&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 18:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438833#M356937</guid>
      <dc:creator>uwoodyjk</dc:creator>
      <dc:date>2009-06-12T18:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438834#M356938</link>
      <description>Here is what I am trying to do, I am scriting the procedure to mirror disks in Itanium.&lt;BR /&gt;&lt;BR /&gt;The only user input is the PRIMARY_DISK and MIRROR_DISK. Such as c3t0d0 and c1t0d0. The rest I want the script to figure out.&lt;BR /&gt;&lt;BR /&gt;The script needs to set booth path, via setboot -p &lt;HW_PATH&gt;&lt;BR /&gt;&lt;BR /&gt;I  need the script to find out the Hardware path, such as 0/1/1/0.1.0 from the /dev/dsk/c3t0d0.&lt;BR /&gt;&lt;BR /&gt;&lt;/HW_PATH&gt;</description>
      <pubDate>Fri, 12 Jun 2009 19:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438834#M356938</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-06-12T19:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438835#M356939</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Take a look at the script I wrote when&lt;BR /&gt;I was teaching HP-UX SNA I last year:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circlingcycle.com.au/Unix-sources/HP-UX-11x-LVM-mirroring.sh.txt" target="_blank"&gt;http://www.circlingcycle.com.au/Unix-sources/HP-UX-11x-LVM-mirroring.sh.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can use it or modify if you wish.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Jun 2009 09:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438835#M356939</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-06-13T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438836#M356940</link>
      <description>wow a lot of folks making something that is really simple very complex...&lt;BR /&gt;&lt;BR /&gt;the "lssf" commadn will of course show you the HW path for a device so simnply do:&lt;BR /&gt;&lt;BR /&gt;lssf /dev/dsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;And to just get the HW path?&lt;BR /&gt;&lt;BR /&gt;lssf /dev/dsk/c2t1d0 | awk '{ print $15 }'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jun 2009 08:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438836#M356940</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-06-14T08:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438837#M356941</link>
      <description>&lt;BR /&gt;That was what I wanted, thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; lssf /dev/dsk/c2t1d0 | awk '{ print $15 }' &lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438837#M356941</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-06-15T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438838#M356942</link>
      <description>Thanks for the script also.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438838#M356942</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-06-15T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438839#M356943</link>
      <description>I just noticed that another place they show up is in &lt;BR /&gt;&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;But it does not guarantee that it will have the mirror disk in there. &lt;BR /&gt;lssf is the best way to go.</description>
      <pubDate>Mon, 15 Jun 2009 14:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/4438839#M356943</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-06-15T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937313#M489984</link>
      <description>&lt;P&gt;Hello Sujit,&lt;/P&gt;&lt;P&gt;What does the s in the&amp;nbsp;/dev/dsk/c16t0d0s1 stands for?&lt;/P&gt;&lt;P&gt;Thanks in advance :)&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2017 14:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937313#M489984</guid>
      <dc:creator>Yash413215</dc:creator>
      <dc:date>2017-02-05T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937328#M489985</link>
      <description>&lt;P&gt;&amp;gt; What does the s in the&amp;nbsp;/dev/dsk/c16t0d0s1 stands for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it stands for slice.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2017 19:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937328#M489985</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2017-02-05T19:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify disk hardware path from device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937400#M489986</link>
      <description>&lt;P&gt;Consider it as partitions:&lt;/P&gt;&lt;P&gt;see&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/GUID_Partition_Table" target="_blank"&gt;https://en.wikipedia.org/wiki/GUID_Partition_Table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 08:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-disk-hardware-path-from-device-file/m-p/6937400#M489986</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2017-02-06T08:32:21Z</dc:date>
    </item>
  </channel>
</rss>

