How to delete a harddisk with dd ?
On a running system I tried
"dd if=/dev/urandom of=/dev/rdsk/c0t0d0 ; dd if=/dev/zero of=/dev/rdsk/c0t0" it took a while but nothing happens, the data is still there ! On Linux I used "dd if=/dev/urandom of=/dev/sda", but how it works on Solaris ? |
For wiping disks on Solaris I use the format utility.
*WARNING* This wipes your disk From the format menu I think its analyze -> verify quit Then go back into format and do backup quit The verify command writes to the disk (and takes a long time). The backup command rewrites the disk label. For more info see -> http://www.sun.com/blueprints/0600/scrub.pdf |
Oh no: "Cannot do analysis on a mounted partition."
I just want do destroy all data, but without to boot from CD or attach a terminal, keyboard or anything. (It's inaccessible on top of a rack) It should be the last command befor the final shutdown, later it will be scraped. |
That the killer-command: "dd if=/dev/urandom of=/dev/rdsk/c0t0d0s2".
Thank you anyway, LiamFromLeeds. |
All times are GMT -5. The time now is 01:51 AM. |