Re: Ext3 errors with 2.4.18

Andrew Morton (akpm@zip.com.au)
Mon, 06 May 2002 14:11:02 -0700


"Udo A. Steinberg" wrote:
>
> Hi,
>
> With Linux 2.4.18, I'm getting multiple of the following error:
>
> EXT3-fs error (device ide0(3,2)): ext3_readdir: bad entry in directory #1966094:
> rec_len % 4 != 0 - offset=0, inode=3180611420, rec_len=53134, name_len=138
>
> Can someone decipher this?
>

That's random junk. Heaven knows. It could have come
from anywhere in the kernel. Including ext3, of course.

When you see this sort of thing you should immediately
take the machine down, because the corruption could be
only in-memory. The longer the machine stays up, the
better the chance that the corruption will go to disk.

And with ext3, the best way to take the machine down
is to pull the power plug. Normal shutdown tools will
sync the disks, which you don't want to happen.

Then reboot with `init=/bin/sh' and force a fsck against
all filesystems.

-
-
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/