<?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: Disk information in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000358#M126342</link>
    <description>Use commands,&lt;BR /&gt;&lt;BR /&gt;diskinfo /dev/rdsk/cxtxdx&lt;BR /&gt;ioscan -kfnC disk&lt;BR /&gt;bdf&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jun 2003 06:11:00 GMT</pubDate>
    <dc:creator>K.Vijayaragavan.</dc:creator>
    <dc:date>2003-06-18T06:11:00Z</dc:date>
    <item>
      <title>Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000357#M126341</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;    I would like to know the following about all types of drives&lt;BR /&gt;&lt;BR /&gt;1. Model Name&lt;BR /&gt;2. Manufacturer&lt;BR /&gt;3. Free space&lt;BR /&gt;4. Unmounted space&lt;BR /&gt;&lt;BR /&gt;Also similar information for CD-ROMs. The information that diskinfo returns seems to be for SCSI only. An API to get the above would solve my problem, a command would also do, but GUI based applications won't be helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;SJ</description>
      <pubDate>Wed, 18 Jun 2003 06:06:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000357#M126341</guid>
      <dc:creator>Sonison James</dc:creator>
      <dc:date>2003-06-18T06:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000358#M126342</link>
      <description>Use commands,&lt;BR /&gt;&lt;BR /&gt;diskinfo /dev/rdsk/cxtxdx&lt;BR /&gt;ioscan -kfnC disk&lt;BR /&gt;bdf&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 06:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000358#M126342</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2003-06-18T06:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000359#M126343</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/cxtydz (root access is required)&lt;BR /&gt;model size and manufacturer&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/cxtydz&lt;BR /&gt;usage&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 06:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000359#M126343</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-18T06:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000360#M126344</link>
      <description>#ioscan -fnC disk&lt;BR /&gt;#diskinfo &lt;PV-PATH&gt;&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;/PV-PATH&gt;</description>
      <pubDate>Wed, 18 Jun 2003 06:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000360#M126344</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-06-18T06:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000361#M126345</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;    Thanks for the information. However, I would like to know if the format that ioscan uses to display the information is a fixed format? For instance on the machine that I am using I get the following output in the description column for one disk:&lt;BR /&gt;&lt;BR /&gt;     HP 73.4GST373405LC&lt;BR /&gt;&lt;BR /&gt;     Can I assume that for any type of hard disk (non-HP for eg) the first four characters will be for the manufacturer, followed by size and model name? &lt;BR /&gt;     &lt;BR /&gt;     Is there an API for the same?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Sonison James&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 07:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000361#M126345</guid>
      <dc:creator>Sonison James</dc:creator>
      <dc:date>2003-06-18T07:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000362#M126346</link>
      <description>In "HP 73.4G,  ST373405LC "&lt;BR /&gt;&lt;BR /&gt;HP is manufacturer.(hewlett packard)&lt;BR /&gt;ST is manufacturer. (segate)&lt;BR /&gt;&lt;BR /&gt;73.4G is size&lt;BR /&gt;&lt;BR /&gt;373405 is size&lt;BR /&gt;&lt;BR /&gt;Rest all you can find from the diskinfo command only.&lt;BR /&gt;&lt;BR /&gt;If you have ignite installed in your system,&lt;BR /&gt;&lt;BR /&gt;print_manifest command also gives detailed information.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 07:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000362#M126346</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2003-06-18T07:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000363#M126347</link>
      <description>Ok,as to API can use the usual /usr/include/sys/scsi.h &amp;amp; ioctl.h.&lt;BR /&gt;Do an ioctl call on disk device with SIOC_INQUIRY like in this example:&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt; &lt;BR /&gt;#include &lt;SYS&gt; &lt;BR /&gt;#include &lt;SYS&gt; &lt;BR /&gt;#include &lt;FCNTL.H&gt; &lt;BR /&gt;#include &lt;STDIO.H&gt; &lt;BR /&gt;#include &lt;ERRNO.H&gt; &lt;BR /&gt;&lt;BR /&gt;int main(int argc,char *argv[]) &lt;BR /&gt;{ &lt;BR /&gt;struct inquiry inquiry; &lt;BR /&gt;char *dev; &lt;BR /&gt;int fd; &lt;BR /&gt;if (argc != 2) &lt;BR /&gt;{ &lt;BR /&gt;fprintf(stderr, "Usage: %s &lt;DEVICE name=""&gt;\n", argv[0]); &lt;BR /&gt;exit(1); &lt;BR /&gt;} &lt;BR /&gt;if (argc == 2) &lt;BR /&gt;dev=argv[1]; &lt;BR /&gt;/* open the device */ &lt;BR /&gt;if ((fd=open(dev,O_RDONLY))&amp;lt;0) &lt;BR /&gt;{ &lt;BR /&gt;perror("open failed"); &lt;BR /&gt;exit(errno); &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;if ((ioctl(fd,SIOC_INQUIRY,&amp;amp;inquiry))&amp;lt;0) &lt;BR /&gt;{ &lt;BR /&gt;perror("ioctl(SIOC_INQUIRY) failed"); &lt;BR /&gt;exit(errno); &lt;BR /&gt;} &lt;BR /&gt;printf("\nVendor ID = %s\n",inquiry.vendor_id); &lt;BR /&gt;printf("Product ID=%s\n",inquiry.product_id); &lt;BR /&gt;printf("Vendor Spec=%s\n",inquiry.vendor_spec); &lt;BR /&gt;printf("Rev Number=%s\n",inquiry.rev_num); &lt;BR /&gt;exit(0) ; &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;It comes from somewhere on ITRC btw,I think it was posted by Robin Wakefiled (so there goes the credit :)) &lt;BR /&gt;&lt;BR /&gt;&lt;/DEVICE&gt;&lt;/ERRNO.H&gt;&lt;/STDIO.H&gt;&lt;/FCNTL.H&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Wed, 18 Jun 2003 07:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000363#M126347</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-18T07:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000364#M126348</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;     Vijay thanks for the clarification. Zeev (Robin &amp;amp; Nikhil :) ) thanks for the API, it was really helpful. However, I would like to know if there is something similar for devices that are not SCSI? &lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;SJ</description>
      <pubDate>Wed, 18 Jun 2003 09:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000364#M126348</guid>
      <dc:creator>Sonison James</dc:creator>
      <dc:date>2003-06-18T09:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000365#M126349</link>
      <description>SJ,&lt;BR /&gt;I don't think that diskinfo on IDE devices &lt;BR /&gt;wouldn't return info.I remember doing it on &lt;BR /&gt;CDROMs in B-2000 workstations (which come with&lt;BR /&gt;IDE cdroms).And I think there should be /usr/include/sys/ide.h or ata.h that can be used in simmilar manner.&lt;BR /&gt;What other devices you mean?&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Wed, 18 Jun 2003 13:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000365#M126349</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-18T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000366#M126350</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;The diskinfo will return info about&lt;BR /&gt;the ide,&lt;BR /&gt;i try it on ide cdrom on b2000 and it's worked&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Wed, 18 Jun 2003 18:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000366#M126350</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-18T18:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000367#M126351</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;     Unfortunately I do not have /usr/include/sys/ide.h and ata.h&lt;BR /&gt;     &lt;BR /&gt;     The man page on diskinfo said that it would return info for SCSI devices only, so just wanted to confirm if I could use it for IDE also. Thanks for the help&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Sonison James&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2003 02:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000367#M126351</guid>
      <dc:creator>Sonison James</dc:creator>
      <dc:date>2003-06-19T02:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000368#M126352</link>
      <description>None of the series 800 systems carry any IDE type of hardware in any case. All peripherals such as internal disks, CDROMS and internal/external tape drives are on some sort of SCSI chain.&lt;BR /&gt;&lt;BR /&gt;Running an 'ioscan -fn' will report *all* attached hardware.</description>
      <pubDate>Thu, 19 Jun 2003 02:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000368#M126352</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-19T02:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disk information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000369#M126353</link>
      <description>It is simple to use "print_manifest" to find out information of every parts such as model, hardware path, of course you can find such info regarding disk. But ignite-ux must be installed.</description>
      <pubDate>Thu, 19 Jun 2003 02:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-information/m-p/3000369#M126353</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-19T02:44:32Z</dc:date>
    </item>
  </channel>
</rss>

