1825882 Members
2850 Online
109689 Solutions
New Discussion

Formatting disks

 
SOLVED
Go to solution
Martin Wells
Frequent Advisor

Formatting disks

We are about to sell on some old K580 servers and want to format the internal disk so no information is left on them.

What is the best way to make sure no data can be recovered once they are in someone elses hands
5 REPLIES 5
Geoff Wild
Honored Contributor
Solution

Re: Formatting disks

See this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=597812

Rgds..Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ravi_8
Honored Contributor

Re: Formatting disks

Hi

#mediainit -v
never give up
Pete Randall
Outstanding Contributor

Re: Formatting disks

Martin,

For non-root disks, you can use dd:

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

For the root volumes you can just cd to / and do a "rm -rf *". It's the only time in your admin life that you get to do it, so enjoy!


Pete

Pete
Shaikh Imran
Honored Contributor

Re: Formatting disks

Hi,
mediainit and also i think pvcreate -f will do
Regs
I'll sleep when i am dead.
Jan de Vries
Advisor

Re: Formatting disks

pvcreate will only erase the PVRA and not the data blocks!
You can also write junkdata to the disk with DD, select a random source, the kernel or so and write it to all the blocks on the disk.