<?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: Using dd command for wiping disks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780156#M77002</link>
    <description>There was a long discussion about this a while ago. Heres the link. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The best way is to not only use /dev/zero but /dev/one, two... etc. There is a perl script on the above link to do random writes of 1's, 2's etc.&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Aug 2002 11:00:43 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-08-06T11:00:43Z</dc:date>
    <item>
      <title>Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780151#M76997</link>
      <description>We are trying to decommssin our K200.  When we enter the following command:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/(somedisk) bs=1024&lt;BR /&gt;&lt;BR /&gt;the system goes off and appears to be wiping the disks (the light is on and stays on) but it NEVER returns to prompt.  What are we doing wrong?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 21:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780151#M76997</guid>
      <dc:creator>Joanne Joki_1</dc:creator>
      <dc:date>2002-08-05T21:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780152#M76998</link>
      <description>here are some hints:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5c60bce6f33d6118fff0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5c60bce6f33d6118fff0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I usually use a "count"&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 05 Aug 2002 21:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780152#M76998</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-05T21:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780153#M76999</link>
      <description>Also check this one&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3c0f36e69499d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3c0f36e69499d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 06 Aug 2002 04:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780153#M76999</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-06T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780154#M77000</link>
      <description>Joanne,&lt;BR /&gt;&lt;BR /&gt;Your block size is only 1024 bytes.  That's going to take forever.  Try 1024k instead.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 06 Aug 2002 10:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780154#M77000</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-08-06T10:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780155#M77001</link>
      <description>The speed also depends on the size of disk.  How large are the disks? Increasing bs as mentioned before will help.&lt;BR /&gt;&lt;BR /&gt;Verify your /dev/zero file has the correct major/minor number. Otherwise nulls may be written instead of zeros.&lt;BR /&gt;&lt;BR /&gt;At 10.20 (minor was 3)&lt;BR /&gt;# mknod  /dev/zero c 3 0x000003&lt;BR /&gt;&lt;BR /&gt;At 11.00 (minor has to be 4)&lt;BR /&gt;# mknod /dev/zero c 3 4 /dev/zero&lt;BR /&gt;# ll /dev/zero&lt;BR /&gt;crw-rw-rw-   1 bin sys  3 0x000004 Aug  2  2002 /dev/zero&lt;BR /&gt;&lt;BR /&gt;At 11i, insf should create this file automatically, if it doesn't already exist.&lt;BR /&gt;&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Cheryl &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 10:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780155#M77001</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-08-06T10:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780156#M77002</link>
      <description>There was a long discussion about this a while ago. Heres the link. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The best way is to not only use /dev/zero but /dev/one, two... etc. There is a perl script on the above link to do random writes of 1's, 2's etc.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 11:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780156#M77002</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-08-06T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780157#M77003</link>
      <description>Joanne,&lt;BR /&gt;&lt;BR /&gt;Pete is correct.  I myself always use bs=4096k.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Tue, 06 Aug 2002 11:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780157#M77003</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-08-06T11:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780158#M77004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Either increase the block size or stay patient. It takes some time to do the dd, depending on the size of the disk. try,&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/null of=/dev/rdsk/cxtydz bs=1024k&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 12:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780158#M77004</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-06T12:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using dd command for wiping disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780159#M77005</link>
      <description>thanks, all.  The size of some of the disks are 2gig and some are 4gig.  I will try increasing the block size and see if this helps.  The minor number was set to three per the instructions I got from HP -- is this going to be a major problem?</description>
      <pubDate>Tue, 06 Aug 2002 14:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-dd-command-for-wiping-disks/m-p/2780159#M77005</guid>
      <dc:creator>Joanne Joki_1</dc:creator>
      <dc:date>2002-08-06T14:09:20Z</dc:date>
    </item>
  </channel>
</rss>

