Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i wipe out rootvg?

Status
Not open for further replies.

oraytektips

Programmer
Jul 1, 2005
65
US
I tried rm -Rrf /*
but it says /etc not empty
/proc not empty
/......
 
Are you trying to destroy your server? Do you want to wipe a disk clean before sending it somewhere? It is very unusual to try and remove your operating system.


Jim Hirschauer
 
yes i want to wipe out the os.we are shipping the server to someother place.
 
I would put the disks in another server and run "dd if=/dev/zero of=/dev/hdisk#" until the disk filled up with zero's. I do believe there are also disk wiping utilities out there.


Jim Hirschauer
 
There are disk wiping utilities but they don't usualy do a very good job. Formatting isn't guarenteed to remove everything either.

BUt if you format the disk then do an overwrite install of AIX to the disk, then format again, that should be secure enough.
 
You can type something like:
while true
do
echo "\000\c"
done|dd of=/dev/hdisk# bs=1024
This should be enough to destroy everything in the disk...
If you boot from CD and then run the above script the result will be guaranted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top