<?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 script to determine internal vs external disks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769040#M74199</link>
    <description>I am in the process of writing a "collection" script to be run on all of our HP servers.  It was asked that I specify which disks are internal and which disks are external.  However, since this script will be run on many different model servers, I don't see how this is possible without keeping a hardcoded table listing each type of server and the address for the internal disks.  Does this sound correct?</description>
    <pubDate>Mon, 22 Jul 2002 10:25:53 GMT</pubDate>
    <dc:creator>Penni Nussbaum</dc:creator>
    <dc:date>2002-07-22T10:25:53Z</dc:date>
    <item>
      <title>script to determine internal vs external disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769040#M74199</link>
      <description>I am in the process of writing a "collection" script to be run on all of our HP servers.  It was asked that I specify which disks are internal and which disks are external.  However, since this script will be run on many different model servers, I don't see how this is possible without keeping a hardcoded table listing each type of server and the address for the internal disks.  Does this sound correct?</description>
      <pubDate>Mon, 22 Jul 2002 10:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769040#M74199</guid>
      <dc:creator>Penni Nussbaum</dc:creator>
      <dc:date>2002-07-22T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: script to determine internal vs external disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769041#M74200</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I think you are right. What you can get is which SCSI-bus a disk is  is connectet to but not automatic if this is a internal or external bus. In some cases it is also possible external and internal diska share the same bus.</description>
      <pubDate>Mon, 22 Jul 2002 10:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769041#M74200</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-07-22T10:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: script to determine internal vs external disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769042#M74201</link>
      <description>&lt;BR /&gt;Yes, youre out of luck. Even a full ioscan | grep ext_bus shows both internal and external controllers for varoius models. You are going to have to keep a master list of which paths for which server types for internal/external.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 11:08:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769042#M74201</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-07-22T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: script to determine internal vs external disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769043#M74202</link>
      <description>Hi Penni,&lt;BR /&gt;&lt;BR /&gt;as Leif wrote you could look after the bus to possibly decide whether the disks are internal.&lt;BR /&gt;Though it may give a propper indication I think it's not ultimately reliable.&lt;BR /&gt;Nor would be this method, I use because it works for most of our big application and db servers that are connected to disk storage systems.&lt;BR /&gt;I look at the description field of the ioscan command to parse the vendor (which in our case would either be EMC or HITACHI OPEN-*)&lt;BR /&gt;&lt;BR /&gt;This will show you the specified field:&lt;BR /&gt;&lt;BR /&gt;ioscan -kFCdisk|awk -F: '{print $(NF-1)}'</description>
      <pubDate>Mon, 22 Jul 2002 11:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-determine-internal-vs-external-disks/m-p/2769043#M74202</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-07-22T11:11:39Z</dc:date>
    </item>
  </channel>
</rss>

