[1454] in linux-scsi channel archive
Re: Big Filesystem errors
daemon@ATHENA.MIT.EDU (Tony Nugent)
Fri Feb 21 01:25:17 1997
To: Matt Sapp <matt@manc.edu>
Cc: linux-admin@vger.rutgers.edu, linux-config@vger.rutgers.edu,
linux-scsi@vger.rutgers.edu
From: Tony Nugent <tony@trishul.sci.gu.edu.au>
In-Reply-To: message-id <Pine.LNX.3.93.970219155421.8371A-100000@lion.manc.edu>
of Wed, Feb 19 15:59:20 1997
Date: Fri, 21 Feb 1997 16:15:49 +1000
On Wed Feb 19 1997, Matt Sapp wrote:
> I've got a pair of Quantum XP34550W (4.3GB) disk drives, and an Adaptec
> 3940UW controller. Last night, for some reason, my filesystems became
> corrupt somehow, and i got many of the following messages:
>
> EXT2-fs error (device 08:03): ext2_add_entry: bad entry in directory
> #282625: rec_len % 4 != 0 - offset=39936, inode=809713985, rec_len=16706,
> name_len=16759
[...more nasty ugly error messages munched...]
> I've been fsck'ing the drives all day, and /dev/sda3 still is giving me
> errors. This drive has been mounted as /var, and i think that the news
> services might have been part of the problem. This machine does just about
> all the internet services around here, so maybe it's something else.. Any
> ideas on how to fix this, and what might have caused it?
Try upgrading to e2fsprogs-1.06.tar.gz
ftp://sunsite.unc.edu/data/sun/system/Filesystems/ext2/e2fsprogs-1.06.tar.gz
I'm not sure if this is a related problem, but the top of the
RELEASE-NOTES file says...
=====8<----insert-crowbar-here---------
E2fsprogs 1.06 (October 7, 1996)
================================
Fixed serious bug in e2fsck: if the block descriptors are bad, don't
smash the backup copies in ext2fs_close(). (The problem was that when
e2fsck -p discovered the problem, while it was closing the filesystem
and exiting, it was also blowing away the backup superblocks on the
disk, which was less than friendly.) We now make it the case that we
only write out the backup superblock and the back block descriptors if
the filesystem is completely free from problems.
=====8<----insert-crowbar-here---------
Cheers
Tony