Re: [Ext2-devel] [CHECKER] warnings in fs/ext3/namei.c (2.4.19) where disk read errors get ignored, causing non-empty dir to be deleted

From: Jörn Engel
Date: Mon May 03 2004 - 12:35:29 EST


On Mon, 3 May 2004 10:16:06 -0600, Andreas Dilger wrote:
> On May 03, 2004 16:10 +0200, Jörn Engel wrote:
> >
> > Do you mind if I doubt the sanity of whoever made that decision? When
> > my hard drive fails, I don't care about writing to the fs too much
> > anymore, I want to *notice* the failure early and to *read* as much as
> > possible, then put the drive on a pile for test hardware.
>
> If that's what you want, then mount the filesystem with "errors=remount-ro"
> and you will get it. You can even mount it with "errors=panic" so that the
> node reboots and does a full fsck immediately. For users that have a few
> bad blocks on their disk and can't afford to throw the whole disk away this
> is a reasonable course of action.

Ok, "errors=remount-ro" is good enough for me. For the record, do
non-historic disks with a few bad blocks still exist? I though the
driver firmware already detected those and used spare blocks at one
side of the disk as a replacement. Nicely visible when sequential
read performance over the whole disk has a few non-continuous spots.

Jörn

--
Geld macht nicht glücklich.
Glück macht nicht satt.
-
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/