public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Clemmitt Sigler <siglercm@jrt.me.vt.edu>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
	lkml <linux-kernel@vger.kernel.org>,
	Alan Cox <Alan.Cox@linux.org>
Subject: Re: 2.4.20-rc3 ext3 fsck corruption -- tool update warning needed?
Date: Mon, 25 Nov 2002 21:47:39 -0500	[thread overview]
Message-ID: <20021126024739.GA11903@think.thunk.org> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0211242351001.2368-100000@jrt.me.vt.edu>

On Mon, Nov 25, 2002 at 12:12:55AM -0500, Clemmitt Sigler wrote:
> I'd been running 2.4.20-rc3 for two days.  While rebooting it tonight
> fsck.ext3 corrupted my / partition during an automatic fsck of the
> partition (caused by the maximal mount count being reached).  (I had
> backups so I was able to recover :^)  The symptoms were that some files
> like /etc/fstab and dirs like /etc/rc2.d disappeared -- not good.
> 
> My system is Debian Testing, with Debian e2fsprogs version
> 1.29+1.30-WIP-0930-1.  I use ext3 partitions with all options set to
> the defaults (ordered data mode).  This is an SMP system, in case
> that matters.  Please e-mail me for any other details that might help.
> 
> I'm wondering if this change between -rc1 and -rc2 might be a factor ->
> 
>    <tytso@think.thunk.org>
>            HTREE backwards compatibility patch.

Nope; I really doubt it.  All the HTREE compatibility patch does is
clear the INDEX_FL flag in a directory inode if the directory inode is
modified.  It's a very, very innocuous patch.  

> Upon rebooting to 2.4.19 (SMP kernel also), the system did another
> auto-fsck.ext3, this time on /usr.  I held my breath, but all went fine.
> This seems to me to narrow it down to a kernel/e2fsprogs incompatibility
> (but I'm not an expert).

Well, no; it could also be that some kind of filesystem corruption
either made the directories disappear, or caused e2fsck to believe
that the files needed to be removed or moved into lost+found.  There
are a million possible explanations, including a bug in a device
driver, the VM layer, or just pure coincidence.

Without some clear indication of what e2fsck actually printed we'd
only be speculating.

> If this is indeed the case, please put a LOUD WARNING in the kernel
> notes that some versions of e2fsprogs are incompatible.  HTH.

No, there shouldn't be any kind of compatibility problems.  All of the
various extensions to ext2/ext3 are all clearly marked with feature
flags in the superblock, and need to be explicitly enabled before they
take effect.

Can you can duplicate the problem?

						- Ted

  parent reply	other threads:[~2002-11-26  2:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-25  5:12 2.4.20-rc3 ext3 fsck corruption -- tool update warning needed? Clemmitt Sigler
2002-11-25 10:57 ` Hugo Mills
2002-11-25 14:21   ` Clemmitt Sigler
2002-11-26  3:55   ` Theodore Ts'o
2002-11-25 17:15 ` Matthias Andree
2002-11-25 17:39   ` Tomas Konir
2002-11-25 18:37   ` Clemmitt Sigler
2002-11-26  2:47 ` Theodore Ts'o [this message]
2002-11-26 15:55   ` Clemmitt Sigler
2002-11-27 12:55     ` Theodore Ts'o
2002-11-27 14:28       ` Clemmitt Sigler
2002-11-28 22:49       ` Andries Brouwer
2002-11-28 23:47         ` GertJan Spoelman
  -- strict thread matches above, loose matches on Subject: below --
2002-11-27 13:39 Margit Schubert-While
2002-11-27 15:18 ` Alan Cox
2002-11-27 20:47   ` Theodore Ts'o

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=20021126024739.GA11903@think.thunk.org \
    --to=tytso@mit.edu \
    --cc=Alan.Cox@linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=siglercm@jrt.me.vt.edu \
    /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