Operating System - HP-UX
1752735 Members
5659 Online
108789 Solutions
New Discussion юеВ

Secure format of Hard Drive

 
Betty Hardin
Frequent Advisor

Secure format of Hard Drive

We are eliminating the unix boxes (moved to windows). I need to securely format the drives on the unix box (HPUX 11i). How do I do that? (Best but quickest)

TIA,
Betty
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Secure format of Hard Drive

A. Clay Stephenson
Acclaimed Contributor

Re: Secure format of Hard Drive

Take the drives out and whack them with a hammer.

A reasonable level of disk wiping is:

dd if=/dev/zero of=/dev/rdsk/c1t5d0 bs=64k

which will write all zeroes to the entire drive.

If you have the strong random number (KRG) software installed then this will write random data to the entire drive but it's slower:

dd if=/dev/urandom bs=256 of=/dev/rdsk/c1t5d0
If it ain't broke, I can fix that.
Ralph Grothe
Honored Contributor

Re: Secure format of Hard Drive

Hi Betty,

my commiseration for your decision to abandon the Unix platform in favour of Windows.

As Clay wrote, if you have the /dev/urandom installed, a triple dd pass over your disks would most likely render your disks' data unreadable to non-specialist data coronors.
If you need to fend them off as well you would have to physically destroy your disks to dust.

On Linux boxes there's the shred tool available for this purpose which is part of the GNU fileutils and thus maybe also compilable on other platforms?

http://www.gnu.org/software/fileutils/doc/manual/html/fileutils.html#shred%20invocation
Madness, thy name is system administration
Court Campbell
Honored Contributor

Re: Secure format of Hard Drive

My funny suggestion is:

http://www.rare-earth-magnets.com/

these things should wipe the drives clean. Just remove the drives and stick these bad boys on the disk(s). Make sure you aren't around other equipment when you put them on the drives. They are really string.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Steven E. Protter
Exalted Contributor

Re: Secure format of Hard Drive

Shalom,

There is no totally secure way to insure this other than to send the hard disk to the smasher. That is what we do where I work now.

What I used to do in the past was a fresh install of the OS including all disks.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Walt Watson
Advisor

Re: Secure format of Hard Drive

We degauss (run across a large electromagnet) first and then smash them. We then break the disks into pieces and discard pieces into several separate disposal sites.

Actually its fairly fast to degauss them.