Re: ext3 seems to ignore ECC errors

From: Andreas Schwab
Date: Mon Aug 04 2008 - 12:13:11 EST


Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

> Andreas Schwab, le Mon 04 Aug 2008 17:39:06 +0200, a écrit :
>> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:
>> > However, to my surprise Linux (2.6.26) continued to mount the ext3
>> > filesystem read/write, spitting out a lot of IDE errors. Shouldn't
>> > filesystems remount read-only and let the admin try to save data in such
>> > case?
>>
>> That's a tunable parameter of the filesystem, see tune2fs(8).
>
> Oh, I had assumed it was on by default, hum. But now it reads
>
> Errors behavior: Remount read-only
>
> and I am still getting the same behavior. Indeed after some VFS
> modifications time it gets remounted read-only, but shouldn't that
> happen as soon as possible?

The block device may do some retries before passing the error on.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
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/