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)
Thanks for this, gets to the meat of the commands. Just what I needed from a quick Google 😉 Cheers!
hallo my name is jon-luc and my drive has 312 bad sectors can i fix this ?