1833034 Members
2491 Online
110049 Solutions
New Discussion

securely erasing a disk

 
SOLVED
Go to solution
Alexander Fonseca
New Member

securely erasing a disk

Is there a free tool/program out there to securely erase hp-unix disks?

Thx,alex
1 REPLY 1
CAS_2
Valued Contributor
Solution

Re: securely erasing a disk

dd if=/dev/zero of=/dev/rdsk/c12t0d5

if your system (HP-UX 11.x) has not /dev/zero, you must create using:

cd /dev
mknod zero c 3 0x000004
chown bin:sys zero
chmod 444 zero

If you prefer fill your disk with random data instead of zeroes, you should use /dev/random or /dev/urandom. If your system has not got them, you can download and install the pseudodriver from HP Software web.