format or erase a hard disk

Post your quick hints and tips here.

format or erase a hard disk

Postby Steve » Wed Sep 18, 2013 5:26 pm

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"
Posts: 25
Joined: Fri Mar 25, 2011 1:00 pm

Return to AIX Quick Hints and Tips

Who is online

Users browsing this forum: No registered users and 2 guests