How long to zero a 2TB drive w/ dd over USB?

BigToque

Lifer
Oct 10, 1999
11,700
0
76
I'm RMA'ing a WD20EARS drive that failed WD's drive diagnostic tool due to too many bad sectors. I decided to zero out the drive with dd before sending it in. It's been running for almost 34 hours now.

I used the command: dd if=/dev/zero of=/dev/sdb bs=1M

I figured it would take about a day, but apparently it's a lot longer than that.

Is there any way to poll the program to see it's progress? Or do I just gotta wait it out?
 
Feb 25, 2011
16,994
1,622
126
did you ever answer this ?

Newer versions of dd (Ubuntu 16 and later, among others) have a show-progress feature built in.

If you want to do it the old fashioned way, use either pv or the kill -USR1 command, as outlined here: