Tips Linux Explorers
All Things Linux Forum
Great Linux Links
LinuxClues.com
Hometown
Email
BAD BLOCKS
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"
Bruno
-- Nov 4 2004 ( Revised Dec 12 2005 ) --
Tips Linux Explorers
All Things Linux Forum
Great Linux Links
LinuxClues.com
Hometown
Email