Re: Possible ext3 corruption with 1K block size

From: Jan Kara
Date: Thu Dec 18 2008 - 13:13:13 EST


Hi Eric,

> Pascal Terjan wrote:
> > Le mercredi 15 octobre 2008 Ã 09:43 -0500, Eric Sandeen a Ãcrit :
> >> Andrey Borzenkov wrote:
> >>> On Wednesday 15 October 2008, Eric Sandeen wrote:
> >>
> >>>> My kingdom for a testcase... does anyone have simple steps to reproduce
> >>>> this? Or do they all start with "install mandriva on a 1k block size
> >>>> system?" :)
> >>>>
> >>> May be RH will do? :)
> >> I did try a 1k-block root fs Fedora install, and didn't see any problems...
> >>
> >>> As indicated by last comment, Pascal has some ways to trigger it; I
> >>> forgot to Cc to him initially; doing it now.
> >> Ok, good deal.
> >>
> >
> > On my test machine I reproduce it easily : rpm --rebuilddb and if the db
> > is not detected to be corrupted yet it will be after installing a few
> > packages (tested again with 2.6.27).
> >
> > If I do the rebuilddb on a 2.6.17 and then reboot on a recent kernel,
> > then I can install/uninstall thousands of packages without any
> > corruption.
>
> so it seems to be the database rebuilding, under a recent kernel, which
> causes the problem? installing under a recent kernel is ok, as long as
> the db was created on an older kernel?
>
> Ok that's a good clue...
Have you been able to track this down? Anything interesting?

Honza
--
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/