blog:run_dd_with_progress_information
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
blog:run_dd_with_progress_information [2011-08-23 08:50] – brb | blog:run_dd_with_progress_information [2011-08-23 08:59] – brb | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== run dd with progress information ====== | ====== run dd with progress information ====== | ||
- | dd is a great tool to overwrite disks quickly (if you want to return them or sell them)((if you are required, use shred, which overwrites the disk with random data, 25 times by default. But: overwriting once is enough to make the disk unrecoverable by professional data recovery services. If i had a disk with real top secret information, | + | dd is a great tool to overwrite disks quickly |
- | Overwrite entire disk, e.g. /dev/sdi with zeroes, for example to sell the disk or send it in (CAREFUL)! | + | Overwrite entire disk, e.g. /dev/sdX with zeroes, for example to sell the disk or send it in for warranty. Be VERY CAREFUL |
+ | 0. DON'T do this in a hurry | ||
- | | + | 1. Verify that you have a backup of all your data! |
+ | |||
+ | 2. Locate the disk, make 100% sure by checking the size and the model!: | ||
+ | ls / | ||
+ | |||
+ | 3. Verify that you are on the right disk (check paritions): | ||
+ | cfdisk /dev/sdX | ||
+ | |||
+ | 4. Verify that the right hd light is lighting up if you read the disk | ||
+ | | ||
| | ||
+ | 5. Overwrite the disk with zeros: | ||
+ | dd if=/ | ||
| | ||
+ | 6. Check the progress of your running dd, from another terminal window do ((this sends the USR1 signal to all running dd instances once every second, making them print out the progress information)) | ||
+ | watch killall -USR1 dd | ||
+ | Ref: http:// | ||
- | {{tag> | + | {{tag> |
~~LINKBACK~~ | ~~LINKBACK~~ | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
blog/run_dd_with_progress_information.txt · Last modified: 2011-08-23 09:01 by brb