Well, you can compute an estimate yourself: press
Ctrl+Z to suspend
shred, then (as root):
Code: Select all
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1774 MB in 2.00 seconds = 887.14 MB/sec
Timing buffered disk reads: 20 MB in 3.15 seconds = 6.36 MB/sec
(I did this in a virtual machine so the numbers are wacky.)
Afterwards, give the
fg command to resume
shred.
Divide your disk size (120GB) by the buffered read figure (6.36MB/s, above) to get the
best-case time, in seconds, to read the entire drive
once. Since we're talking rough estimates, assume write speeds are similar. In the example this yields 120GB * (1024 MB/GB) / (6.36 MB/s) ~= 19320 s, or about 5h 20m for
one pass. A more realistic speed of 40MB/s yields ~51m for one pass, and again that's best case (one big streaming chunk). Figure on actual speed being quite a bit slower.
Now for the really bad news: by default,
shred overwrites a file
25 times....
Edit: I see someone already replied while I was checking my figures. Ah well.
