<?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 command? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140765#M155232</link>
    <description>Tom,&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with your 877, but I'm guessing you would have to open the case to access the hard drive and then pass the magnet over it, though you might be able to do it through the case - you could try waving the magnet at it and then see if it boots.&lt;BR /&gt;&lt;BR /&gt;Otherwise, I would go back to my earlier suggestion:  use "dd" on the non-root drives and "rm -rf" or "dd" on the root drive.  Either way, the drive is going to be pretty well trashed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 10 Dec 2003 08:18:34 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-12-10T08:18:34Z</dc:date>
    <item>
      <title>Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140750#M155217</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using HP 877 10.20...&lt;BR /&gt;&lt;BR /&gt;What command do I use for erase/format all hard drives?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 10 Dec 2003 06:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140750#M155217</guid>
      <dc:creator>Tom Spence_1</dc:creator>
      <dc:date>2003-12-10T06:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140751#M155218</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;to remove all the files from a disk &lt;BR /&gt;&lt;BR /&gt;cd /disk_mount_point&lt;BR /&gt;&lt;BR /&gt;rm -r * &lt;BR /&gt;&lt;BR /&gt;there is generally no need to format HP disks is there any particular reason for wanting to do this ?&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 10 Dec 2003 06:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140751#M155218</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2003-12-10T06:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140752#M155219</link>
      <description>I think you want mediainit.&lt;BR /&gt;&lt;BR /&gt;See "man mediainit".&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Wed, 10 Dec 2003 06:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140752#M155219</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-12-10T06:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140753#M155220</link>
      <description>if you really need to delete information, you could "dd if=/dev/zero of=&lt;DISK device=""&gt;" until it falls over.  This should work though I've never tried it.&lt;BR /&gt; &lt;BR /&gt;&lt;/DISK&gt;</description>
      <pubDate>Wed, 10 Dec 2003 06:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140753#M155220</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-10T06:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140754#M155221</link>
      <description>I've read repeated reports of disk usability issues after mediainit.  I would suggest that you stick to the dd command offered by Mark.  If you're trying to wipe drives before resale of the machine, you can load a fresh copy of HP-UX on the root drive and wipe all the others with dd.&lt;BR /&gt;&lt;BR /&gt;If your trying to clear drives for your own reuse, you're going about it the wrong way entirely.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2003 06:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140754#M155221</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-10T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140755#M155222</link>
      <description>Okay, great...&lt;BR /&gt;&lt;BR /&gt;Surely, I am using ioscan -funC disk first.&lt;BR /&gt;&lt;BR /&gt;Now, tell me how can I wipe it out by using dd command?&lt;BR /&gt;&lt;BR /&gt;Like this:  dd if=/dev/zero of=/dev/rdsk/xx&lt;BR /&gt;&lt;BR /&gt;Right?</description>
      <pubDate>Wed, 10 Dec 2003 07:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140755#M155222</guid>
      <dc:creator>Tom Spence_1</dc:creator>
      <dc:date>2003-12-10T07:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140756#M155223</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;Exactly!&lt;BR /&gt;&lt;BR /&gt;But, I still ask what you are trying to accomplish.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2003 07:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140756#M155223</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-10T07:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140757#M155224</link>
      <description>Just in case you do not have /dev/zero:&lt;BR /&gt;&lt;BR /&gt;IGOR &amp;gt;&amp;gt; ll /dev/zero&lt;BR /&gt;crw-rw-rw-   1 bin        sys          3 0x000004 May 17  2002 /dev/zero&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2003 07:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140757#M155224</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-12-10T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140758#M155225</link>
      <description>If you are going to rebuild this system and reinstall the o/s the new installation will zap all the disks and existing files.&lt;BR /&gt;&lt;BR /&gt;why are you needing to do this ?&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 10 Dec 2003 07:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140758#M155225</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2003-12-10T07:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140759#M155226</link>
      <description>We are no longer to use the HP 877!!!  So we need to format/erase all disks before throw all HP server/storages away...</description>
      <pubDate>Wed, 10 Dec 2003 07:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140759#M155226</guid>
      <dc:creator>Tom Spence_1</dc:creator>
      <dc:date>2003-12-10T07:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140760#M155227</link>
      <description>If you are throwing the disks away a hammer may be the best tool for piece of mind :-)&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 10 Dec 2003 07:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140760#M155227</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2003-12-10T07:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140761#M155228</link>
      <description>LOL...&lt;BR /&gt;&lt;BR /&gt;True but I am working for the Pentagon so I HAVE to format/erase all disks NO MATTER WHAT!&lt;BR /&gt;&lt;BR /&gt;All I do is:&lt;BR /&gt;&lt;BR /&gt;ioscan -funC disk&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/xxxx&lt;BR /&gt;&lt;BR /&gt;Hope it works...  Smile.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 10 Dec 2003 07:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140761#M155228</guid>
      <dc:creator>Tom Spence_1</dc:creator>
      <dc:date>2003-12-10T07:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140762#M155229</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;If you are throwing it away and there is no need for *anyone* to be able to access the disks then mediainit is fine.  I don't know as I see any real advantage over using the dd command, though.  In fact, I think dd might be faster.  I would suggest:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=1024k&lt;BR /&gt;&lt;BR /&gt;for all non root drives, and rm -rf /* for the root drive.&lt;BR /&gt;&lt;BR /&gt;Have fun!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2003 07:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140762#M155229</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-10T07:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140763#M155230</link>
      <description>Or, and I mean this seriously, a large magnet will do wonders (of the disastrous type).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2003 07:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140763#M155230</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-10T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140764#M155231</link>
      <description>Yes, we might have to degauss at other office...  But how easy for me to take hard drive off, just pull?  If screw then waste my time...  Any suggest?</description>
      <pubDate>Wed, 10 Dec 2003 07:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140764#M155231</guid>
      <dc:creator>Tom Spence_1</dc:creator>
      <dc:date>2003-12-10T07:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140765#M155232</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;I'm not familiar with your 877, but I'm guessing you would have to open the case to access the hard drive and then pass the magnet over it, though you might be able to do it through the case - you could try waving the magnet at it and then see if it boots.&lt;BR /&gt;&lt;BR /&gt;Otherwise, I would go back to my earlier suggestion:  use "dd" on the non-root drives and "rm -rf" or "dd" on the root drive.  Either way, the drive is going to be pretty well trashed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 10 Dec 2003 08:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140765#M155232</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-10T08:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Format command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140766#M155233</link>
      <description>How about blowing a handfull of iron fillings in there, you could take out the whole machine in one easy step!</description>
      <pubDate>Wed, 10 Dec 2003 08:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/format-command/m-p/3140766#M155233</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-10T08:24:05Z</dc:date>
    </item>
  </channel>
</rss>

