Ric Wheeler wrote:
Matthias Wächter wrote:
On 10/22/2008 3:50 PM, Chris Mason wrote:
Let me reword my answer ;). The next write will always succeed unless
the drive is out of remapping sectors. If the drive is out, it is only
good for reads and holding down paper on your desk.
I have a fairly new SATA disk with about 3000 hours of 24/7 duty
(very light load), 0 remapped sectors and 8 consecutive sectors with
read/write errors. Still, it did not perform remapping facing heavy
writes on the bad sectors. Now what? For whatever reason, remapping
not always works (or mine was produced with a total of zero
remapping sectors…).
- Matthias
It sounds like this drive is actually fine, you might have seen some
transient issues.
Are you positive that the writes went directly to the sectors in
question - that should either clear the error or cause it to remap the
sectors internally. (Reads will continue to fail).
Mark Lord has added some options to hdparm that you might be able to use
to expressly clear the sectors in question in a more direct way.
let me add 2 other thoughts from my experience with other drive types:
- check for firmware updates.
- some drives have a remapping mode where it fails the write,
reports to the host, then the host will send a remap-this-sector
command. this mode might be selectable on the drive. if the
host driver does not do the remap that sector will continue
to fail.
jim
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html