<?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: Command to exercise a disk  on console in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029777#M301403</link>
    <description>Will,&lt;BR /&gt;&lt;BR /&gt;did this disk have any bad sectors?&lt;BR /&gt;&lt;BR /&gt;That would explain the io-error.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Mon, 02 Jul 2007 07:40:27 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2007-07-02T07:40:27Z</dc:date>
    <item>
      <title>Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029769#M301395</link>
      <description>Hi there Guru's&lt;BR /&gt;    Is there a console command to exercise a disk with read and write permission ? I know that i can do it in STM but i want to add the exercise process of disk testing in a script that i've been given..&lt;BR /&gt;&lt;BR /&gt;Also in the scipt it uses the dd commands to write zeros but the results shows an I/O error. Does the error occur as the first 16 sectors are read-only ? would the following get rid of the error ?&lt;BR /&gt;&lt;BR /&gt;from:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/c#t#d# bs=512k&lt;BR /&gt;&lt;BR /&gt;To:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/c#t#d# bs=512k oseek=1&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance &lt;BR /&gt;&lt;BR /&gt;Will&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Jun 2007 00:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029769#M301395</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-06-30T00:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029770#M301396</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;add the noerror option and use the urandom if you have.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/urandom of=/dev/rdsk/c#t#d# bs=1024k conv=noerror&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/null of=/dev/rdsk/c#t#d# bs=1024k conv=noerror&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 30 Jun 2007 09:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029770#M301396</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-06-30T09:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029771#M301397</link>
      <description>Will,&lt;BR /&gt;&lt;BR /&gt;Console commands are platform dependent.&lt;BR /&gt;Please indicate which specific box/architecture?!&lt;BR /&gt;&lt;BR /&gt;Robert-Jan,&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/urandom &lt;BR /&gt;&lt;BR /&gt;The 'random' device is very slow / cpu intensive.&lt;BR /&gt;Writing zeroes is good enough to test write-ability.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/null &lt;BR /&gt;&lt;BR /&gt;That gives and end-of-device rigth away.&lt;BR /&gt;You want to use /dev/zero like Will already indicated.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Jun 2007 12:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029771#M301397</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-30T12:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029772#M301398</link>
      <description>Thanks for the replys, I'll check them out when i get to work.&lt;BR /&gt;&lt;BR /&gt;Hein - I'm using the L1000 &amp;amp; RP7400 (Nclass), both with HP-UX 11. I assume that it was software based and only need to tell it which disk i want to exercise with the read and write permission ? &lt;BR /&gt;&lt;BR /&gt;Will</description>
      <pubDate>Sat, 30 Jun 2007 20:24:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029772#M301398</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-06-30T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029773#M301399</link>
      <description>Hi Robert-Jan&lt;BR /&gt;&lt;BR /&gt;I've used the conv=noerror on the dd command but it still giving me the I/O error after it finished testing the disk. &lt;BR /&gt;&lt;BR /&gt;Also i get the "/dev/urandom: No such file or directory" when inputting the /dev/urandom on the dd command. &lt;BR /&gt;&lt;BR /&gt;Is there a way to put it into a file or is it the same principles with the /dev/zero ? eg: &lt;BR /&gt;&lt;BR /&gt;mknod /dev/zero c 3 0x00003&lt;BR /&gt;chmod 444 /dev/zero&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will</description>
      <pubDate>Mon, 02 Jul 2007 04:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029773#M301399</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-07-02T04:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029774#M301400</link>
      <description>Hi Will,&lt;BR /&gt;&lt;BR /&gt;HP-UX Strong Random Number Generator&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Could you run a "dskinfo /dev/rdsk/cxtydz" on the device file of the diks?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 02 Jul 2007 05:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029774#M301400</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-07-02T05:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029775#M301401</link>
      <description>Hi Robert-Jan&lt;BR /&gt;&lt;BR /&gt;    After reading that weblink, It's not what i really looking for, All i want is to write zero's all over the disk randomly instead from begining - end like /dev/zero does. Wondered is this possible as a customer wants how it write zeros in this way. &lt;BR /&gt;&lt;BR /&gt;Will</description>
      <pubDate>Mon, 02 Jul 2007 06:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029775#M301401</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-07-02T06:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029776#M301402</link>
      <description>Robert-Jan&lt;BR /&gt;&lt;BR /&gt;   i do get some info of the disk when i&lt;BR /&gt;&lt;BR /&gt;diskinfo /dev/rdsk/c#t#d#&lt;BR /&gt;&lt;BR /&gt;But about the "conv=noerror" this still give me  an I/O error what else am i doing wrong ?&lt;BR /&gt;&lt;BR /&gt;Will</description>
      <pubDate>Mon, 02 Jul 2007 06:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029776#M301402</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-07-02T06:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029777#M301403</link>
      <description>Will,&lt;BR /&gt;&lt;BR /&gt;did this disk have any bad sectors?&lt;BR /&gt;&lt;BR /&gt;That would explain the io-error.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 02 Jul 2007 07:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029777#M301403</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-07-02T07:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029778#M301404</link>
      <description>Robert-Jan&lt;BR /&gt;&lt;BR /&gt;Only get the error on the /dev/zero but no errors on the /dev/null part of the test&lt;BR /&gt;&lt;BR /&gt;Will</description>
      <pubDate>Mon, 02 Jul 2007 07:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029778#M301404</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-07-02T07:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029779#M301405</link>
      <description>Will,&lt;BR /&gt;&lt;BR /&gt;/dev/zero should have been 0x000004.&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 0x000004&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 02 Jul 2007 08:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029779#M301405</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-07-02T08:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029780#M301406</link>
      <description>&amp;gt;Only get the error on the /dev/zero but no errors on the /dev/null part of the test&lt;BR /&gt;&lt;BR /&gt;Naturally, /dev/null didn't do anything.&lt;BR /&gt;You may get an error on /dev/zero because you write off the end of the destination file?</description>
      <pubDate>Mon, 02 Jul 2007 09:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029780#M301406</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-02T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Command to exercise a disk  on console</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029781#M301407</link>
      <description>Dennis&lt;BR /&gt;&lt;BR /&gt;    Are you going to help out or are you going to moan about what other people want to do ? I'm only here to get help on why and how to solve these problem if theres a solution. &lt;BR /&gt;&lt;BR /&gt;So if your not going to help and moan like a girl then i suggest you shut up</description>
      <pubDate>Mon, 02 Jul 2007 09:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-exercise-a-disk-on-console/m-p/4029781#M301407</guid>
      <dc:creator>TYP3R</dc:creator>
      <dc:date>2007-07-02T09:41:52Z</dc:date>
    </item>
  </channel>
</rss>

