How long does badblocks take?

Soldato
Joined
22 Dec 2008
Posts
10,369
Location
England
I'm currently looking at

badblocks -w -v /dev/sdc1 -o /home/jon/Desktop/bblocks
Checking for bad blocks in read-write mode
From block 0 to 732572000
Testing with pattern 0xaa:

It's using about 10% of one core still, so I assume its running. But I have no idea how far through it is and don't know how to ask, is there a command I can run that will report what % it's at?

Running read-write though a 750gb drive that's misbehaving. Its been going for a couple of hours so far.
 
I ran it on a 300gb drive yesterday and it took about 4 hours.

Give the -s parameter a look to:

-s
Show the progress of the scan by writing out rough percentage completion of the current badblocks pass over the disk. Note that badblocks may do multiple test passes over the disk, in particular if the -p or -w option is requested by the user.
 
Ah. S would have been exactly what I wanted. May restart it and run with this, should have read the manual more carefully. Cheers

edit: yeah, it's going to take a while. Overnight it is.
54% after 1 hour 25. Of the first pass, I think it does three though I'm not sure where I've got this from. No bad blocks yet.

19 hours 20 down, done two passes

It actually took an entire day, but I guess I trust the drive now. Feel a bit sorry for it.
 
Last edited:
Back
Top Bottom