<?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: finding IDE SCSI disks in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090590#M7108</link>
    <description>try man on "hdparm" utility (i'm currently not on Linux OS otherwise the I would be more specific</description>
    <pubDate>Fri, 10 Oct 2003 10:22:54 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2003-10-10T10:22:54Z</dc:date>
    <item>
      <title>finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090589#M7107</link>
      <description>Is there any command to display the IDE and scsi HD seperately.&lt;BR /&gt;&lt;BR /&gt;Iam aware that &lt;BR /&gt;#fdisk -l&lt;BR /&gt;will display both scsi and IDE harddisk but the same is displaying all the partitions too.&lt;BR /&gt;&lt;BR /&gt;Is there a seperate command to display on harddisk and not the partitions (with out using grep)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jagadesh</description>
      <pubDate>Fri, 10 Oct 2003 10:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090589#M7107</guid>
      <dc:creator>Jagadesh</dc:creator>
      <dc:date>2003-10-10T10:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090590#M7108</link>
      <description>try man on "hdparm" utility (i'm currently not on Linux OS otherwise the I would be more specific</description>
      <pubDate>Fri, 10 Oct 2003 10:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090590#M7108</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-10-10T10:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090591#M7109</link>
      <description>For scsi&lt;BR /&gt;As root &lt;BR /&gt;#cdrecord -scanbus&lt;BR /&gt;or&lt;BR /&gt;# cat /proc/scsi/scsi&lt;BR /&gt;  &lt;BR /&gt;For ide&lt;BR /&gt;As root&lt;BR /&gt;#for i in a b c d ; do  hdparm -I /dev/hd$i ;done&lt;BR /&gt; &lt;BR /&gt;only put in the require in a b c d (ex: only a if you have only hda drive)&lt;BR /&gt; &lt;BR /&gt;hdparam --help     &lt;BR /&gt;reveals a lot of options so you can tailor the above to suite your needs.&lt;BR /&gt; &lt;BR /&gt;J-P</description>
      <pubDate>Fri, 10 Oct 2003 11:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090591#M7109</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-10T11:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090592#M7110</link>
      <description>Is there a command to list only the attached scsi or ide disks (apart from fdisk command)?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 11 Oct 2003 02:47:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090592#M7110</guid>
      <dc:creator>Jagadesh</dc:creator>
      <dc:date>2003-10-11T02:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090593#M7111</link>
      <description>Not that I know !&lt;BR /&gt; &lt;BR /&gt;The best I can think is to make a sript do what you want&lt;BR /&gt; &lt;BR /&gt;J-P</description>
      <pubDate>Sat, 11 Oct 2003 03:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090593#M7111</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-11T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090594#M7112</link>
      <description>"dmesg | grep disk" or something like that might work for a while.</description>
      <pubDate>Sat, 11 Oct 2003 07:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090594#M7112</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-11T07:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090595#M7113</link>
      <description>If it's a redhat system, you might find something similar to this useful:&lt;BR /&gt; &lt;BR /&gt;grep "^[hs]d[a-zA-Z]" /var/log/dmesg&lt;BR /&gt; &lt;BR /&gt;The 'dmesg' command that Mark mentioned is available on all Linux distributions, however it's a circular buffer of which can only hold a few kb of data (16 by default).  RH, by default, dumps this out right after boot-up so the boot messages get recorded successfully, and not lost when the buffer fills up.&lt;BR /&gt; &lt;BR /&gt;This will only find standard drives, not those based upon some of the more advanced controllers (I'm unaware of how fibre-channel based controllers device out their nodes, and the SmartArray use /dev/cciss/ nodes).&lt;BR /&gt; &lt;BR /&gt;Hopefully this will give you a start.&lt;BR /&gt; &lt;BR /&gt;As far as I'm aware however, there is no tool that will successfully list all drives, as I know 'fdisk' does not ('sfdisk -l' comes close though).</description>
      <pubDate>Sun, 12 Oct 2003 19:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090595#M7113</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-10-12T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090596#M7114</link>
      <description>There must be a better way of doing this because "vgscan" does it.  I wonder if /proc is the answer here.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Oct 2003 01:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090596#M7114</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-13T01:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090597#M7115</link>
      <description>For SCSI drives, yes. /proc/scsi/scsi will list such devices.&lt;BR /&gt; &lt;BR /&gt;There is no equivalent however for IDE devices.  As far as I'm aware, they are found and maintained at bootup, spitting out messages for dmesg to capture (thus the commands I suggested).&lt;BR /&gt; &lt;BR /&gt;Failing that, I'm sure someone here suggested 'cdrecord -scanbus' from the CDRecord packages.  This is limited to SCSI devices once again, but using the 'ide-scsi' kernel emulation, it will allow CD's to be viewed as SCSI devices, but not block IDE hdd's.&lt;BR /&gt; &lt;BR /&gt;/proc/ide/ has some semblance of a device list, but it's a bit messy (having symbolic links to internal structures).  If the IDE chipset driver does it (mine here does), it might list devices in a psudo-file here.</description>
      <pubDate>Mon, 13 Oct 2003 03:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090597#M7115</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-10-13T03:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: finding IDE SCSI disks</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090598#M7116</link>
      <description>Ok, we seem to have scsi covered (above).  Looking through /proc/ide I'm don't think it's too messy. "cat /proc/ide/ide*/hd*/media" seems to do the trick. You'd need to supply your own values for "*" if you want to do more than just count them of course.</description>
      <pubDate>Mon, 13 Oct 2003 03:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-ide-scsi-disks/m-p/3090598#M7116</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-13T03:54:08Z</dc:date>
    </item>
  </channel>
</rss>

