- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Erasing the root disk..
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:22 AM
12-22-2005 12:22 AM
situation;
i have two 18 gb drives mirrored.
Need to format them so no data exists
server will be sold to a reseller.
Mediainit? or DD? please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:27 AM
12-22-2005 12:27 AM
Re: Erasing the root disk..
I'd go for dd as mediainit has been slow for me. dd if=/dev/zero of=/dev/dsk/cXXdXXtX
This should to the trick for normal standard data sensitivity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:27 AM
12-22-2005 12:27 AM
Re: Erasing the root disk..
To my way of thinking, there shouldn't be any sensitive data on the root disk anyway.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:30 AM
12-22-2005 12:30 AM
Re: Erasing the root disk..
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=964689
It seems to me that dd is the favourite, being faster but still good enough.
I thought pvcreate would make data irretrievable, the post above says otherwise.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:33 AM
12-22-2005 12:33 AM
Re: Erasing the root disk..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:45 AM
12-22-2005 12:45 AM
Solutiondd if=/dev/zero of=/dev/rdsk/c0t6d0 bs=1024k
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.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:49 AM
12-22-2005 12:49 AM
Re: Erasing the root disk..
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.
What was the block size you used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:51 AM
12-22-2005 12:51 AM
Re: Erasing the root disk..
It never finished. I just killed it, and i can still see all files on vg00 like it did nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:56 AM
12-22-2005 12:56 AM
Re: Erasing the root disk..
The kernel is running in memory so I would think it should be able to overwrite it's own files before it died.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 12:59 AM
12-22-2005 12:59 AM
Re: Erasing the root disk..
512 is the default and writes out 512 byte blocks - it will definitely take forever. Try it with 1024k.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 01:02 AM
12-22-2005 01:02 AM
Re: Erasing the root disk..
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 01:42 AM
12-22-2005 01:42 AM
Re: Erasing the root disk..
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 02:01 AM
12-22-2005 02:01 AM
Re: Erasing the root disk..
if i were you i would prefer re-install OS
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 05:59 AM
12-22-2005 05:59 AM
Re: Erasing the root disk..
i will most likely try to reinstall the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 06:12 AM
12-22-2005 06:12 AM
Re: Erasing the root disk..
As msntioned, vg00 probably has only a few "significant" files on it that you don't want seen.
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.
Short of physically destroying the disk, you would need to overwrite it 10-20 times to truly make it unreadable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 06:16 AM
12-22-2005 06:16 AM
Re: Erasing the root disk..
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2005 06:38 AM
12-22-2005 06:38 AM
Re: Erasing the root disk..
Do we have /dev/zero? ll /dev/zero
If not then create one:
For 11.xx:
mknod /dev/zero c 3 0x000004 ; chown bin:bin /dev/zero ; chmod 666 /dev/zero
For 10.20:
mknod /dev/zero c 3 0x000003 ; chown bin:bin /dev/zero ; chmod 666 /dev/zero
Then wipe all the drives:
for x in `ls /dev/rdsk`
do
dd if=/dev/zero of=/dev/rdsk/${x} bs=1024k &
done