By Stefan Hinker on Jun 08, 2011
Actually, both the question and the answer are old and well known. However, these things tend to be forgotten and pop up as questions from time to time. Hence a little reminder for all of us:
Solaris makes it easy to erase a disk so that all the data can't be restored, even with sophisticated methods. There is a subcommand "analyze/purge" in the command format(1M) that does it all for you. It will overwrite the selected area of your disk (usually s2) a total of four times with different patterns to achieve this. Of course, depending on the size of the disk, this might take a while. But it's secure enough to comply with Department Of Defence(DOD) wipe disk standard 5220.22-M.
Some more details are here:
- manpage of format(1M)
- Detailed description of the procedure
- Wikipedia article about theoretical background and limitations