11-10-2009
11,
0
Join Date: Nov 2009
Last Activity: 7 October 2012, 8:49 PM EDT
Location: Kuala Lumpur
Posts: 11
Thanks Given: 0
Thanked 0 Times in 0 Posts
Hello sumarthi,
You have 2 options here:
Option 1:Wipe disk using Diag boot
**************************
1. Assuming it is rootvg disk, you have to start(boot) the server using AIX Diagnostic CD.
2. Task Selection -> Format Media (if the disks are from datavg, make sure you format rootvg disk last in sequence)
-> select disk(select disk using enter, proceed using F7 rootvg disk do in sms mode)
-> Erase Disk -> Enter, Yes-> Write patterns to drive
-> choose number of different pattern to write (3 patterns is sufficient, according to dept of defense standard, others option optional) -> F7(commit)
Option 2:Zero Filled the hdisk manually using cmd line
*****************************************
1. Depending on your requirements there are a couple of ways to do this.
If your requirment is to keep the average hacker from getting to the
data then the following dd command works great:
# dd if=/dev/zero of=/dev/rhdisk0 bs=1m
(dd the disks with the rootvg last)
2. eg:
hdisk0 00c7ae3a90d38044 rootvg active
hdisk1 00c7ae3a95f249c6 datavg active
hdisk3 00c7ae3ae5ec7b97 datavg2 active
hdisk4 0002c6bf97d139ad testvg active
Set a loop script with the rootvg hard disk last to be wiped:
"for x in 4 3 1 0
do
dd if=/dev/zero of=/dev/rhdisk$x bs=1m
done"
Then I do other stuff and check it after a few hours.
Test to see if the machine will boot, definitely it won't. Success!
p/s : Thanks Neo for the nomination. Appreciate!
GOOD LUCK!
Shiniraz
Malaysia
Last edited by shiniraz; 11-10-2009 at 07:20 AM..