Page 1 of 1

format or erase a hard disk

PostPosted: Wed Sep 18, 2013 5:26 pm
by Steve
If you need to erase the data on a hard disk in AIX, this is the command. Can be used in scripts if needed.

diag -c -d hdisk1 -T "format -s erase -a write -P aa,cc,ee -F"