<?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: Format an Hard drive under HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852752#M742136</link>
    <description>Thanks !</description>
    <pubDate>Fri, 23 Sep 2005 10:36:31 GMT</pubDate>
    <dc:creator>Yan Berube</dc:creator>
    <dc:date>2005-09-23T10:36:31Z</dc:date>
    <item>
      <title>Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852745#M742129</link>
      <description>I need to send back some WS to a supplier.  How I can erase all data on each hard drive quickly ?  Do we have a somethings in unix like "format c:" in wintel ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 20 Feb 2004 20:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852745#M742129</guid>
      <dc:creator>Yan Berube</dc:creator>
      <dc:date>2004-02-20T20:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852746#M742130</link>
      <description>Hi Yan,&lt;BR /&gt;&lt;BR /&gt;Yes - the mediainit command.&lt;BR /&gt;But it's not recommended for drives you wish to keep, however, nor for drives with especially sensitive data as there are more secure techniques.&lt;BR /&gt;Commands would be like:&lt;BR /&gt;&lt;BR /&gt;mediainit /dev/rdsk/cXtYdZ &lt;BR /&gt;&lt;BR /&gt;Note the need for the raw device.&lt;BR /&gt;&lt;BR /&gt;man mediainit for details&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 20 Feb 2004 20:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852746#M742130</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-02-20T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852747#M742131</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Another way is to erase the data is to dd the /dev/dsk/c?t?d? with zeros etc e.g.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/zero of=/dev/dsk/c1t2d0 bs=1024&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 20 Feb 2004 22:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852747#M742131</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2004-02-20T22:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852748#M742132</link>
      <description>writing a string at the start of the hard disk will do the job &lt;BR /&gt;&lt;BR /&gt;cat &amp;lt; file name &amp;gt; &amp;gt; /dev/dsk/c0t0d0 will write the file at the start of the disk hence invalidating the format , you can also use mediainit to do the same.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 20 Feb 2004 23:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852748#M742132</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2004-02-20T23:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852749#M742133</link>
      <description>&lt;BR /&gt;mediainit performs a low-level (i.e. at the SCSI level) format. For most people, this is sufficent.&lt;BR /&gt;&lt;BR /&gt;dd'ing over the front of the disk is not sufficent - if you have confidential data on the disk, bad guy could do something like &lt;BR /&gt;&lt;BR /&gt;   dd if=/dev/dsk/c1t0d0 bs=4k | strings | grep '[0-9]*-[0-9]' &lt;BR /&gt;&lt;BR /&gt;to look for phone numbers and social security numbers (as an example) on the disk ....&lt;BR /&gt;&lt;BR /&gt;even mediainit'ing is not completely secure - if bad guy takes the mechanism to a data recovery facility, they can often recover data by reading each of the tracks 'off-center' of the primary servo data... not trivial, not impossible either. Multiple &lt;BR /&gt;mediainits make this less likely to be successful.&lt;BR /&gt;&lt;BR /&gt;It really depends on your level of paranoia. The military does not throw away drives at all - the drives are just ran through a crusher when the equipment is obsoleted...&lt;BR /&gt;&lt;BR /&gt;-- Dave Ritchie&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2004 10:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852749#M742133</guid>
      <dc:creator>David Ritchie</dc:creator>
      <dc:date>2004-02-23T10:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852750#M742134</link>
      <description>You want this; it writes random numbers from 1 to 255, all you do is add a pipe then dd of=/dev/rdsk/cxxxxx to write random numbers to the entire disk until it ends.&lt;BR /&gt;&lt;BR /&gt;perl -e 'srand(time() ^ $$); while (1) { print int(rand(1)*256); }'&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2004 10:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852750#M742134</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2004-02-23T10:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852751#M742135</link>
      <description>Hi, can you assign points to this thread and close it out if it answer your question? Thanks...&lt;BR /&gt;&lt;BR /&gt;-- Dave</description>
      <pubDate>Fri, 23 Sep 2005 10:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852751#M742135</guid>
      <dc:creator>David Ritchie</dc:creator>
      <dc:date>2005-09-23T10:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Format an Hard drive under HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852752#M742136</link>
      <description>Thanks !</description>
      <pubDate>Fri, 23 Sep 2005 10:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-an-hard-drive-under-hp-ux/m-p/4852752#M742136</guid>
      <dc:creator>Yan Berube</dc:creator>
      <dc:date>2005-09-23T10:36:31Z</dc:date>
    </item>
  </channel>
</rss>

