[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <454DCAAC.3080903@wasp.net.au>
Date: Sun, 05 Nov 2006 15:27:40 +0400
From: Brad Campbell <brad@...p.net.au>
To: James Courtier-Dutton <James@...erbug.co.uk>
CC: Alan Cox <alan@...rguk.ukuu.org.uk>,
Albert Cahalan <acahalan@...il.com>, kangur@...com.net,
mikulas@...ax.karlin.mff.cuni.cz, linux-kernel@...r.kernel.org
Subject: Re: New filesystem for Linux
James Courtier-Dutton wrote:
> I have seen this too. I think that when IDE drive relocates the sector
> due to hard errors, one would silently loose the information that was
> stored in that sector.
> How can one detect this? Of course it would be nice if the IDE drive
> told us that sector X had just gone bad but I don't think they do. They
> just silently relocate it because in some cases the sector has only gone
> a "bit" bad, so the IDE drive relocates it before it totally fails.
I've never seen this behaviour in a drive. All the drives I've seen mark bad sectors as "pending
reallocation", they they return read errors on that sector unless they manage to jag a good read, in
which case they then reallocate the sector. Or else they wait for you to write to the sector
triggering a reallocation.
There may be drives less well behaved out there, but I've not come across them.
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists