<?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: What does this command do? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394032#M862471</link>
    <description>Thank you guys for your advises.. Bill say something about diagnostic patches that can self report any detected error with the disk on syslog.. may I know how can I get my hands on this patches?</description>
    <pubDate>Wed, 06 Oct 2004 23:07:47 GMT</pubDate>
    <dc:creator>Henry Chua</dc:creator>
    <dc:date>2004-10-06T23:07:47Z</dc:date>
    <item>
      <title>What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394025#M862464</link>
      <description>Out of curiosity, I been seeing people used this "dd if=/dev/dsk/C0t0d0s0 of=/dev/null bs=1024k" to check the physical condition of the harddisk. But how does it really check the disk is ok?&lt;BR /&gt;&lt;BR /&gt;Thank u!</description>
      <pubDate>Tue, 05 Oct 2004 19:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394025#M862464</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-05T19:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394026#M862465</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;It check the disk by reading the if=/dev/dsk/c0t0d0s0 option in dd means input file, and it reads in a block of 1024k and if there is any problem on the disk whcih prevents from reading the device, it reports an error.&lt;BR /&gt;So by running above command you are looking for any read errors on the device&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 05 Oct 2004 20:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394026#M862465</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-10-05T20:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394027#M862466</link>
      <description>Thank u Rajeev, &lt;BR /&gt;&lt;BR /&gt;But how does writing files to null checks the intergrity of the drive?</description>
      <pubDate>Tue, 05 Oct 2004 20:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394027#M862466</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-05T20:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394028#M862467</link>
      <description>Henry,&lt;BR /&gt;&lt;BR /&gt;It's done by reading from the disk. 'if=/dev/rdsk/c0t0d0' will read from the disk and write into /dev/null. If any block is bad and is not readable, then the disk may be bad.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 05 Oct 2004 20:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394028#M862467</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-05T20:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394029#M862468</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;Its not the write we are checking for by this command. And since we are reading from a device file we need to write somewhere, thats the reason why we are writing to /dev/null which means nothing.&lt;BR /&gt;&lt;BR /&gt;So the point to note is that we are looking for reading the device not writing to device.&lt;BR /&gt;But if you like you can check the write also, but that will destory all the data you have on that disk, so writing is tested when the device is added new.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Oct 2004 20:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394029#M862468</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-10-05T20:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394030#M862469</link>
      <description>The vast majority of disks go bad with either bad spots on the disk (the disk hardware detects a parity error) or with an electronic failure where the disk cannot comunicate. There is no way to validate the actual data on the disk without another copy for comparison. So the dd command just reads the data, throws it away but checks for any error status.&lt;BR /&gt; &lt;BR /&gt;Normally, this is not needed if you have the online diagnostics loaded and patched. Any problems with the disks will be reported in syslog.</description>
      <pubDate>Tue, 05 Oct 2004 22:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394030#M862469</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-10-05T22:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394031#M862470</link>
      <description>I'm a relatively frequent user of said command.&lt;BR /&gt;&lt;BR /&gt;I rarely read the whole drive though, Just enough to make sure the data is coming form the real spindles, not from some controller cache. So I like to read say 100MB or 1GB and use bs=1024k count=100  for that.&lt;BR /&gt;&lt;BR /&gt;I also tend to pre-fix with the 'time' command, such that I also get an impression of the raw disk IO speed.&lt;BR /&gt;&lt;BR /&gt;In the rare occasions when I want to test raw writes, I use if=/dev/zero, but as pointed out this will destroy any existing data.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Oct 2004 22:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394031#M862470</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-10-05T22:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394032#M862471</link>
      <description>Thank you guys for your advises.. Bill say something about diagnostic patches that can self report any detected error with the disk on syslog.. may I know how can I get my hands on this patches?</description>
      <pubDate>Wed, 06 Oct 2004 23:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394032#M862471</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-06T23:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394033#M862472</link>
      <description>The Diagnostics and patches he is referring to can be found in this matrix&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/diag/stm/stm_upd.htm#table" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/diag/stm/stm_upd.htm#table&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For your version that you have installed, read the README for the list of "Required and Recommended Patches"&lt;BR /&gt;&lt;BR /&gt;To download the latest version of Diagnostics&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6191AAE" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6191AAE&lt;/A&gt;</description>
      <pubDate>Thu, 07 Oct 2004 05:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394033#M862472</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-10-07T05:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: What does this command do?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394034#M862473</link>
      <description>Normally, the online diagnostics are loaded onto your new HP-UX computer. If you reloaded HP-UX (or someone else did), then you may not have the Support Tools Manager (STM) and associated diagnostics. They are critical to any HP-UX system since this is the only way that hardware errors will be logged in a meaningful way, as well as having the use of exercisers to test RAM, CPU, etc.&lt;BR /&gt; &lt;BR /&gt;As mentioned, you can download the latest diagnostics from HP, or load them from your latest SupportPlus CDROM. In some cases, you'll need additional patches but these are on the CD or available from the HP ITRC. Once the diagnostics are correctly loaded and running, any errors including soft errors like correctable memory errors will be logged in syslog.</description>
      <pubDate>Thu, 07 Oct 2004 07:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-this-command-do/m-p/3394034#M862473</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-10-07T07:21:17Z</dc:date>
    </item>
  </channel>
</rss>

