Scan for bad sectors in Linux
Bad sectors are the bruises of your harddisk. To check if a harddisk is in good shape, we can use its SMART capabilities:
smartctl -t long /dev/hda
To check for bad sectors, use
badblocks -sv /dev/hda
Bad sectors are the bruises of your harddisk. To check if a harddisk is in good shape, we can use its SMART capabilities:
smartctl -t long /dev/hda
To check for bad sectors, use
badblocks -sv /dev/hda
and who i can repair bad sectors?
Mihai, try fsck in combination with one of the following utilities: badblocks, mkfs or one of the filesystem utilities that come with the filesystem you;re currently using (xfsprogs, jfsutils, e2fsprogs, reiser4progs, etc)