<?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: Erasing the root disk.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696740#M248541</link>
    <description>Seems like re-installing the OS is the best way now then.&lt;BR /&gt;&lt;BR /&gt;I do agree with Pete that there is/should be very little to get rid of on the root disks, still better to be safe I guess.&lt;BR /&gt;&lt;BR /&gt;What was the block size you used?</description>
    <pubDate>Thu, 22 Dec 2005 08:49:02 GMT</pubDate>
    <dc:creator>Gavin Clarke</dc:creator>
    <dc:date>2005-12-22T08:49:02Z</dc:date>
    <item>
      <title>Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696734#M248535</link>
      <description>I am getting rid of an HPUX server. I would like to know how to completely format the root drive. &lt;BR /&gt;&lt;BR /&gt;situation;&lt;BR /&gt;&lt;BR /&gt;i have two 18 gb drives mirrored. &lt;BR /&gt;Need to format them so no data exists&lt;BR /&gt;server will be sold to a reseller. &lt;BR /&gt;&lt;BR /&gt;Mediainit? or DD? please help.</description>
      <pubDate>Thu, 22 Dec 2005 08:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696734#M248535</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2005-12-22T08:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696735#M248536</link>
      <description>Chris,&lt;BR /&gt;I'd go for dd as mediainit has been slow for me. dd if=/dev/zero of=/dev/dsk/cXXdXXtX&lt;BR /&gt;This should to the trick for normal standard data sensitivity.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 08:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696735#M248536</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-12-22T08:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696736#M248537</link>
      <description>Popular options include re-installing the OS, running dd against it, running pvcreate -f, or mediainit.  Any of the above will work, it just depends on how sensitive the data is on the disk and how cautious you need/want to be.  &lt;BR /&gt;&lt;BR /&gt;To my way of thinking, there shouldn't be any sensitive data on the root disk anyway.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 22 Dec 2005 08:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696736#M248537</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-12-22T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696737#M248538</link>
      <description>Here is a similar post (from a search):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964689" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964689&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It seems to me that dd is the favourite, being faster but still good enough.&lt;BR /&gt;&lt;BR /&gt;I thought pvcreate would make data irretrievable, the post above says otherwise.&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Thu, 22 Dec 2005 08:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696737#M248538</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-12-22T08:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696738#M248539</link>
      <description>I wasn't sure DD would work on the "root" disks. I did try that  yesterday and it never finished. I let it run for over 26 hours.</description>
      <pubDate>Thu, 22 Dec 2005 08:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696738#M248539</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2005-12-22T08:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696739#M248540</link>
      <description>I would think dd would work up until it overwrites the dd binary itself.  After that, I'm not sure what would happen.  Did you specify a blocksize:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/rdsk/c0t6d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;It's true that pvcreate won't actually destroy any data on the disk but it makes it darn hard for anyone to recover unless they knew the layout of the disk to start with.  Even destructive methods like dd and mediainit leave data behind that the determined snoop can get at.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 22 Dec 2005 08:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696739#M248540</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-12-22T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696740#M248541</link>
      <description>Seems like re-installing the OS is the best way now then.&lt;BR /&gt;&lt;BR /&gt;I do agree with Pete that there is/should be very little to get rid of on the root disks, still better to be safe I guess.&lt;BR /&gt;&lt;BR /&gt;What was the block size you used?</description>
      <pubDate>Thu, 22 Dec 2005 08:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696740#M248541</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-12-22T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696741#M248542</link>
      <description>I used bs=512&lt;BR /&gt;&lt;BR /&gt;It never finished. I just killed it, and i can still see all files on vg00 like it did nothing.</description>
      <pubDate>Thu, 22 Dec 2005 08:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696741#M248542</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2005-12-22T08:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696742#M248543</link>
      <description>That post suggests bs=1024k, which is quite alot different I think.&lt;BR /&gt;&lt;BR /&gt;The kernel is running in memory so I would think it should be able to overwrite it's own files before it died.</description>
      <pubDate>Thu, 22 Dec 2005 08:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696742#M248543</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-12-22T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696743#M248544</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;512 is the default and writes out 512 byte blocks - it will definitely take forever.  Try it with 1024k.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 22 Dec 2005 08:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696743#M248544</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-12-22T08:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696744#M248545</link>
      <description>Pete, sorry for the duplication, I didn't see your post before I submitted mine.&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Thu, 22 Dec 2005 09:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696744#M248545</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-12-22T09:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696745#M248546</link>
      <description>Even doing a rm -rf / will render the OS inoperable...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 22 Dec 2005 09:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696745#M248546</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-22T09:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696746#M248547</link>
      <description>Chris,&lt;BR /&gt;if i were you i would prefer re-install OS&lt;BR /&gt;Good Luck,</description>
      <pubDate>Thu, 22 Dec 2005 10:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696746#M248547</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-12-22T10:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696747#M248548</link>
      <description>the DD doesn't seem to work. &lt;BR /&gt;&lt;BR /&gt;i will most likely try to reinstall the OS.</description>
      <pubDate>Thu, 22 Dec 2005 13:59:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696747#M248548</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2005-12-22T13:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696748#M248549</link>
      <description>Hi Chris:&lt;BR /&gt;&lt;BR /&gt;As msntioned, vg00 probably has only a few "significant" files on it that you don't want seen.&lt;BR /&gt;&lt;BR /&gt;Consider removing or modifiy those.  For example, you could eliminate all account information and $HOME directories; reduce the '/etc/hosts' file to a minimum; and remove network information from '/etc/rc.config.d/netconf', etc.&lt;BR /&gt;&lt;BR /&gt;Short of physically destroying the disk, you would need to overwrite it 10-20 times to truly make it unreadable.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Dec 2005 14:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696748#M248549</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-22T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696749#M248550</link>
      <description>My preferred method for this is to use 'dd' to wipe the data disks on the system.&lt;BR /&gt;&lt;BR /&gt;Then I do a BASE HP-UX install to one of the data disks, without doing any additoinal software, customizations, etc., and then use dd from that install to wipe the original OS disks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 14:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696749#M248550</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-12-22T14:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing the root disk..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696750#M248551</link>
      <description>You stated that dd didn't work. Did you have /dev/zero? Some of the older-ish boxes don't seem to have it. If you don't have it do the following...&lt;BR /&gt;&lt;BR /&gt;Do we have /dev/zero?  ll /dev/zero&lt;BR /&gt;If not then create one:&lt;BR /&gt;&lt;BR /&gt;For 11.xx:&lt;BR /&gt;mknod /dev/zero c 3 0x000004 ; chown bin:bin /dev/zero ; chmod 666 /dev/zero&lt;BR /&gt;&lt;BR /&gt;For 10.20:&lt;BR /&gt;mknod /dev/zero c 3 0x000003 ; chown bin:bin /dev/zero ; chmod 666 /dev/zero&lt;BR /&gt;&lt;BR /&gt;Then wipe all the drives:&lt;BR /&gt;&lt;BR /&gt;for x in `ls /dev/rdsk`&lt;BR /&gt;  do&lt;BR /&gt;    dd if=/dev/zero of=/dev/rdsk/${x} bs=1024k &amp;amp;&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 14:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/erasing-the-root-disk/m-p/3696750#M248551</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2005-12-22T14:38:27Z</dc:date>
    </item>
  </channel>
</rss>

