From: Andreas Dilger <adilger@clusterfs.com>
To: Frank Krauss <fmfkrauss@mindspring.com>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linus Torvalds <torvalds@transmeta.com>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: [PATCH] Re: Possible EXT2 File System Corruption in Kernel 2.4
Date: Thu, 11 Apr 2002 13:12:55 -0600 [thread overview]
Message-ID: <20020411191255.GK3509@turbolinux.com> (raw)
In-Reply-To: <E16vKwg-00056q-00@barry.mail.mindspring.net> <02041112492500.01786@sevencardstud.cable.nu>
On Apr 11, 2002 12:40 -0400, Frank Krauss wrote:
> I have a problem in the area of EXT2 File System Corruption.
>
> I attempted originally to send this information to Remy Card as per the
> MAINTAINERS file at RemyCard@linux.org but I got the message about
> him being an unknown user.
This is a patch (after I don't know how many years of him not working on
it) to remove Remy Card as ext2 maintainer. Since I'm not
comfortable adding other people's names as maintainers (and I don't
think Linus/Marcello/Alan would accept that anyways), I've just put
the ext2-devel mailing list. All of the ext2 developers are on it.
Patch against 2.4.18, but should be fine for 2.4.current, 2.5.current,
but the ext3 part doesn't exist in 2.2.
=============================================================================
--- linux/MAINTAINERS.orig Fri Dec 21 10:41:53 2001
+++ linux/MAINTAINERS Thu Apr 11 12:57:13 2002
@@ -544,14 +544,12 @@
S: Maintained
EXT2 FILE SYSTEM
-P: Remy Card
-M: Remy.Card@linux.org
-L: linux-kernel@vger.kernel.org
+L: ext2-devel@lists.sourceforge.net
S: Maintained
EXT3 FILE SYSTEM
-P: Remy Card, Stephen Tweedie
-M: sct@redhat.com, akpm@zip.com.au, adilger@turbolinux.com
+P: Stephen Tweedie, Andrew Morton
+M: sct@redhat.com, akpm@zip.com.au, adilger@clusterfs.com
L: ext3-users@redhat.com
S: Maintained
=============================================================================
> > I got the following 10 Error Messages:
> >
> > Apr 9 17:12:51 kernel: EXT2-fs error (device ide1(22,3)):
> > ext2_new_block: Allocating block in system zone - block = 835885
> > Apr 9 17:12:51 kernel: EXT2-fs error (device ide1(22,3)):
> > ext2_new_block: Allocating block in system zone - block = 835886
> > Apr 9 17:12:51 kernel: EXT2-fs error (device ide1(22,3)):
> > ext2_new_block: Allocating block in system zone - block = 835894
This is unfortunately only a symptom of a problem and not the original
cause. There should have previously been errors saying "error - freeing
blocks in system zone". There is a patch I posted a few months ago to
fix this symptom, but not the actual cause.
Rather than going ahead and allocating these blocks (which is surely a
bad thing, as it will further corrupt the filesystem) the patch marks
the blocks in-use, and continues looking for other blocks to allocate.
Similarly, on the "free" case, it does not mark the blocks as freed in
the bitmap, although it does deallocate it from the inode. At worst
this will mean that you might have some unusable blocks if the
filesystem is using some feature that the kernel does not understand,
and e2fsck will clean it up for you because it is marked in error.
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/
next prev parent reply other threads:[~2002-04-11 19:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E16vKwg-00056q-00@barry.mail.mindspring.net>
2002-04-11 16:40 ` Possible EXT2 File System Corruption in Kernel 2.4 Frank Krauss
2002-04-11 19:12 ` Andreas Dilger [this message]
2002-04-11 20:10 ` [PATCH] " Andrew Morton
2002-04-17 7:56 ` [PATCH] " Andreas Dilger
2002-05-20 9:38 ` Juan Quintela
2002-05-21 3:57 ` Andreas Dilger
2002-05-21 4:02 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020411191255.GK3509@turbolinux.com \
--to=adilger@clusterfs.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=fmfkrauss@mindspring.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox