lkml.org 
[lkml]   [2001]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dying disk and filesystem choice.
On Thu, May 24, 2001 at 08:50:04AM -0700, Jonathan Lundell wrote:
> At 10:31 AM +0200 2001-05-24, Andi Kleen wrote:
> >reiserfs doesn't, but the HD usually has transparently in its firmware.
> >So it hits a bad block; you see an IO error and the next time you hit
> >the block the firmware has mapped in a fresh one from its internal
> >reserves.
>
> Drives have remapping capability, but it's the first I've heard of HD
> firmware doing it automatically. I'd be very interested in reading
> the relevant documentation, if you could provide a pointer. Seems to
> me if a drive *could* do this, you'd certainly want to turn it
> (automatic remapping) off. There's way too much chance that a system
> will read the remapped sector and assume that it contains the
> original data. That would be hopelessly corrupting.

There are two scenarios: read and write. For write doing remapping transparent
is all fine, as the data is destroyed anyways.
For read it returns an IO error once and the next time you read from that
block it contains fresh (or partly recovered) data.

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

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.091 / U:3.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site