Simple Command to Wipe Out Disks before You Return Dedicated Server

in #blog2 days ago

One of the dedicated servers expires tomorrow. Since it is dedicated server, it is better to wipe out the disks before you return them. To prevent data recovery intentionally, you can do this:

shred -vzn 3 /dev/sda

Replace /dev/sda with all the hard drivers on the server.

  • -v → verbose progress
  • -z → add a final pass with zeros
  • -n 3 → overwrite 3 times (you can increase for extra paranoia)

Alternatively you can use dd (simpler, one-pass overwrite with zeros)

dd if=/dev/zero of=/dev/sda bs=1M status=progress

image.png

This is the backup node:

image.png

And I am destroying /dev/sda at the same time:

image.png

Still running:

image.png

Steem to the Moon🚀!

Support me, thank you!

Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses

image.png

Sort:  

932GB 👏