Sponsored Links

Maxabout.com > Tips

Bad Blocks

Added on:9/3/2008 10:52:34 PM
In Linux Tips
 Rated by 1 users

There is a way to check for bad blocks on your hard drive in Linux and the command is even quite simple:
A quick check of only one partition: ( read-only mode )
CODE
# badblocks -v /dev/hda1
Note: A full 180 GB drive ( # badblocks -v /dev/hda ) takes about 45 minutes. Be sure not to use the partition you are checking.
A longer, more extended check of one partition ( non-destructive read-write mode )
CODE
# badblocks -n -v /dev/hda1
Note: The read-write check can best be done on a partition that is not mounted.
You can find more info about the badblocks command: "man badblocks"


Sponsored Links
Tools
Bookmark/Discuss