I'm overwriting my hard drive with random data using the good old dd
:
dd if=/dev/urandom of=/dev/disk/by-uuid/etc bs=512
It's a 2TB array and my MacBook (running Linux, ok?) can only write data at around 3.7MB/s, which is pretty pathetic as I've seen my desktop at home do 20MB/s. When I go home tonight, I'd like to stop the dd
run here, take it home, and see what kind of progress can be made overnight with a more powerful machine.
I've been monitoring the progress using a simple loop:
while true; do kill -USR1 $PID ; sleep 10 ; done
The output looks like this:
464938971+7 records in
464938971+7 records out
238048755782 bytes (238 GB) copied, 64559.6 s, 3.7 MB/s
If I were to resume the dd
pass at home, how would I restart it? I'm aware of the seek
parameter, but what do I point it to, the record number or the byte count?
seek=464938960