Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Normally, a hard disk should take care of bad blocks by marking them unsuable. If that isn't any more the case with a hard disk, is it still possible to do keep track of those bad block with some kernel module or other daemon process in Linux?

share|improve this question

Generally bad blocks on a disk are transparently remapped by the disk itself, and the OS usually has no way to see, access, or even recognize those bad blocks. All modern OS's rely on the disk to handle bad blocks, and do not support any sort of block remapping.

If you have a disk that isn't remapping bad blocks, or is somehow exposing them to the OS, then you have a disk that is failing, and needs to be replaced. Continuing to use it will result in data loss.

share|improve this answer

If 'e2fsck -c' doesn't work you're out of luck.
But if your hard disk is so bad that the list of bad blocks is full you should replace it immediately.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.