Re: Why are bad disk sectors numbered strangely, and what happensto them?

From: Hans Reiser
Date: Tue Oct 14 2003 - 04:04:56 EST


Wes Janzen wrote:




You have to do the math on the LBA sector numbers (subtract the
partition start, divide by two).
Also, you can use the "badblocks" program.

I think he's using reiserfs on the partition, which ASFAIK doesn't support marking bad sectors without some work. I tend to agree with namesys when they suggest just getting a new drive if it has used up all of its extra sectors. In my experience (admittedly limited), any drive which runs out of extra sectors starts to go bad in a hurry.

-Wes-

Roger.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


I think the problem is that many users don't know how to trigger the bad sector remapping for the case where the drive can still remap, using writes to the bad blocks, and probably our faq needs updating.

nikita, can you do that?

--
Hans


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/