Getting rid badsectors

how can i get rid bad-sectors?
4 answers Last reply
More about getting badsectors
  1. The drive will automatically remap data in bad sectors to spare sectors if it's able to read the data successfully. If it can't read the data then it won't remap a bad sector until it's been overwritten with new information.
  2. Best way to get rid of bad sectors is to replace the disk; if you're getting a significant number of bad sectors then the disk is probably dying and you'll only get more.

    I think my laptop disk started with about a dozen bad sectors when I first noticed them and had over a hundred before I managed to replace it a couple of weeks later.
  3. I'm not an expert in this (but am working on getting expertise)
    but (again haven't used this extensively or at all but have been reading on it and used it minimally wnat ot use these CLI commands more though)

    badblocks
    fsck

    in cli. not sure what OS you're using though.
  4. > badblocks
    This utility tries to locate bad blocks by writing patterns to every sector and then reading them back again to verify them. But the firmware in the disk itself also verifies data by checking it's ECC information, and if it finds problems it will remap the sector at the drive level without the utility being aware of it. As a result it's unusual for software to be aware of bad blocks on the drive - the drive normally looks "clean" and the only way to see if blocks have gone bad is to look at the drive's SMART data. See: http://en.wikipedia.org/wiki/Badblocks

    > fsck
    This utility checks the consistency of the file system metadata. It doesn't look for bad blocks per se, but rather looks for inconsistencies such as a block that's marked as being free for use yet also happens to show up in the list of blocks allocated to a file.

    For the other people reading, these are Linux utilities, you won't find them in Windows. The equivalent to "fsck" in Windows is "chkdsk".
Ask a new question

Read More

Hard Drives Storage