Saturday, June 5, 2010

Ubuntu: checking for bad blocks on a hard drive

I have an old 80Gb disk I recovered from an old notebook, and it's been giving me read inconsistencies on some files, probably because of bad sectors. Since the disk it's mounted on a crappy USB craddle, it's not passing any SMART data. So I did this the old way.

# sudo time e2fsck -v -cc /dev/sdc1

e2fsck 1.41.11 (14-Mar-2010)
Checking for bad blocks (non-destructive read-write test)
Testing with random pattern:   0.26% done, 1:42 elapsed

No comments: