public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kalpak Shah <kalpak@linsyssoft.com>
To: Martin Mokrejs <mmokrejs@ribosome.natur.cuni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted
Date: Fri, 18 May 2007 19:38:18 +0530	[thread overview]
Message-ID: <1179497298.4305.9.camel@garfield.linsyssoft.com> (raw)
In-Reply-To: <20070518135108.GB14225@ribosome.natur.cuni.cz>

On Fri, 2007-05-18 at 15:51 +0200, Martin Mokrejs wrote:
> On Fri, May 18, 2007 at 05:17:06PM +0530, Kalpak Shah wrote:
> > On Fri, 2007-05-18 at 11:06 +0200, Martin Mokrejs wrote:
> > > Hi,
> > >   I just tried the 2.6.22-r1 candidate to test whether some bug I have 
> > > hit in the past still exists. I did use 2.6.20.6 so far. So, I have 
> > > cleanly rebooted to use the new kernel, after the machine came up I 
> > > tried to mess with the bug, and had to reboot again to play with kernel 
> > > commandline parameters. Unfortunately, on the next reboot fsck was 
> > > schedules on my filesystem after 38 clean mounts. :( And the problem 
> > > started. The fsck found some unused inodes, but probably did not know 
> > > where do they belong to, but it deleted them automagically. Finally, the 
> > > fsck died because it cannot fine some '..' entry.
> > > 
> > > /dev/hda3: Entry '..' in .../??? (5701636) has deleted/unused inode
> > > 5570561. CLEARED.
> > > Unconnected directory inode 5570567 (...)
> > > 
> > > /dev/hda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
> > >                   (i.e., without -a or -p options)
> > > 
> > 
> > This means that e2fsck has reached a point where it needs user
> > intervention. So you should not run e2fsck with -p, -a or -y options.
> > Look up the e2fsck man page for more on this.
> 
> Yeah, stupid init.d script in Gentoo. I will report at Gentoo as well but
> how can I revert the changes? Can you say which directories were affected?

No there is nothing wrong with your script, most problems get solved by
-a or -p and hence your init.d script is correct in using these options.

I don't understand what you mean by reverting your changes. 

An unconnected directory inode means that this directory (inode 5570567)
does not have a valid ".." entry (which is the backpointer to its
parent). So this directory will be moved to lost+found.

Thanks,
Kalpak.

> Thanks,
> Martin


  reply	other threads:[~2007-05-18 14:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18  9:06 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted Martin Mokrejs
2007-05-18  9:53 ` Martin Zwickel
2007-05-18 11:47 ` Kalpak Shah
2007-05-18 13:51   ` Martin Mokrejs
2007-05-18 14:08     ` Kalpak Shah [this message]
2007-05-18 14:32       ` Martin Mokrejs
2007-05-18 14:20 ` Jesper Juhl
2007-05-18 14:35   ` Martin Mokrejs
2007-05-18 21:57     ` Theodore Tso
2007-05-20 19:55       ` fs periodic check (was Re: 2.6.22-rc1 killed my ext3 filesystem cleanly unmounted) Pavel Machek
2007-05-22 18:01         ` Theodore Tso
2007-05-24 17:39           ` Pavel Machek
2007-05-28 12:38             ` Jan Kara
2007-05-28 13:03               ` Pavel Machek
2007-05-29  2:55             ` Theodore Tso
2007-05-29  3:05               ` Neil Brown
2007-05-29 11:38                 ` Pavel Machek
2007-05-29 11:34               ` Pavel Machek

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=1179497298.4305.9.camel@garfield.linsyssoft.com \
    --to=kalpak@linsyssoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmokrejs@ribosome.natur.cuni.cz \
    /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