Securely destroy/wipe data on hard drives with shred

To overwrite a partition or hard drive, two examples:

shred -vfuz -n 10 /dev/md1

shred -vfuz -n 10 /dev/sda

-v: show progress

-f: change permissions to allow writing if necessary

-u: truncate and remove file after overwriting (to shred occupied space with files)

-z: add a final overwrite with zeros to hide shredding

-n: overwrite N times instead of the default (3)

So this would overwrite /dev/sda5 ten times.

http://linux.about.com/library/cmd/blcmdl1_shred.htm

http://www.howtoforge.com/how-to-securely-destroy-wipe-data-on-hard-drives-with-shred

 

This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s