How can I monitor a disc rewrite process in Ubuntu?
November 8, 2008 7:45 AM
Subscribe
I'm using Terminal (Ubuntu 8.04x64) right now to overwrite a 500g external hd with random information. There's been no action aside from a blinking cursor (by itself on a line, not in front of any prompt) since I entered the command yesterday afternoon:
[
sudo dd if=/dev/random of=/dev/sdc bs=8m]
I understand it's going to take a while to finish. In the meantime, is there any way to monitor the progress of the operation?
posted by carsonb to computers & internet (18 comments total)
2 users marked this as a favorite
> dstat -d -D sdc
But, using /dev/random will take a long, long time as it gives true random numbers, using input from the mouse, keyboard, network etc as a source so the amount of data you get from it is not much.
/dev/urandom would be much better, as it uses /dev/random as a seed to a good pseudo random number generator that is good enough for your use unless you are truly paranoid (and in that case you should throw your disk in the ocean after you destroyed with a few powertools instead).
I'm not sure how fast urandom can deliver data, but it should be substantially faster than /dev/random at least.
posted by rpn at 8:00 AM on November 8, 2008