1834026 Members
2139 Online
110063 Solutions
New Discussion

hard disk wipe out

 
SOLVED
Go to solution
subhashni
Regular Advisor

hard disk wipe out

Hello ,
is there any easy and reliable method to wipe out the hard disk in hp.
Thanks
unix4me
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: hard disk wipe out

This should suffice for all but the most sensitive situations:

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

For better wiping on 11.11 systems and up, multiple passes of this command to write random data (rather than 0's) to every disk sector:

dd if=/dev/urandom ibs=256 obs=1024k of=/dev/rdsk/c1t5d0
If it ain't broke, I can fix that.
Victor Fridyev
Honored Contributor

Re: hard disk wipe out

Hi,

Look at the http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=634477

HTH
Entities are not to be multiplied beyond necessity - RTFM
Sung Oh
Respected Contributor

Re: hard disk wipe out

Hi Subhashni,

here is a method to wipe out harddisk.
http://www.brandonhutchinson.com/Wiping_HP-UX_disks.html

Regards,
Sung
James George_1
Trusted Contributor

Re: hard disk wipe out

Hi

Use the mediainit command :
# mediainit â v /dev/rdsk/cxtxd

This will destroy all user data in the disk

Rgds / James
forum is for techies .....heaven is for those who are born again !!
James George_1
Trusted Contributor

Re: hard disk wipe out

sorry ofr the junks in the command:

# mediainit -v /dev/rdsk/cxtxdx

Rgds / James
forum is for techies .....heaven is for those who are born again !!
subhashni
Regular Advisor

Re: hard disk wipe out

thank you
unix4me