On Wed, 25 Jun 2008 21:00:45 +0200, Dave Plater wrote:
Jim Henderson wrote:
On Wed, 25 Jun 2008 10:22:55 +0200, Dave Plater wrote:
If you can see the display of blocks processed and 244,140,625 (1000,000,000,000 / 4096) is the approximate total number of blocks, if you take the time taken so far divided by number of blocks processed times 244140625 you will have the estimated total time. Just subtract time taken so far and you have time to completion.
Now I'm wondering why I didn't think of that. D'oh! And thanks. :-)
If you saved the badblocks list to a file using the -o filename option you can input it to fsck.reiserfs, read man fsck.reiserfs for more info.
Yep, that's my intention.
If smart is disabled on the drives and data was static for a long time you may be able to recover the sectors by doing a few zero write passes but this will take a long time. Its a good idea to run a western digital disk utility on the drives. The biggest cause of bad sectors is data that is static for a long period of time. Regards Dave P
SMART doesn't seem to work over USB, but the data has been relatively static. When you say "zero write passes", is that an option to fsck or badblocks?
Is there a Linux-based WD disk utility, or is it a boot diskette (or maybe the utility CD that came with the drive, I'll have to see if I still have that)? Assume I can get that from WD.
Jim
Try badblocks -wt 0 -t 255 -t 0 it will write zeros then ones then zeros again but the best way is a western digital utility zero write over the whole drive. If you run badblocks in read mode once every six months you won't get the problem again. When the magnetic media is at zero it is magnetized and when it is at binary one it is not if it stays at one for too long it gets stuck and needs to be revived. A low level format or zero write does this but it will take a while. If you do a badblocks in read only mode it issues a read verify command to every sector which will prevent this problem. Modern hard drives normally take care of this themselves by replacing bad sectors from a pool but only if smart is enabled. This must be a problem with usb hard drives. If you take the drives out of the casing and put them into a computer and enable smart you might find they are still under warranty if you visit WDs website. Regards Dave P
Good info, thanks. So far I've not lost that much data (only 72 blocks so far, but the read-only run has been going for nearly 5 days now), so I'm not sure yet that I want to blank the drive (esp. since I've nowhere to back the good data up to as of yet - but I probably will in the next week or so). Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org