Re: Murphy hits (Kernel 2.6, ext2, "check=strict"): corrupted filesystem

From: Ulrich Windl (Ulrich.Windl_at_rz.uni-regensburg.de)
Date: 07/14/04

  • Next message: Chris Wedgwood: "Re: kconfig's file handling (was: XFS: how to NOT null files on fsck?)"
    To: Pavel Machek <pavel@suse.cz>
    Date:	Wed, 14 Jul 2004 08:24:56 +0200
    
    

    On 13 Jul 2004 at 22:48, Pavel Machek wrote:

    > Hi!
    >
    > > I'd like to present a little story how to shredder your ext2 filesystem:
    > >
    > > I was installing SuSE Linux 9.1 when the kernel froze rather late during
    > > installation. So I had to reset the PC. There is a minor bug in the forementioned
    >
    > You call this "minor"?

    ...in the eyes of real-life (Linux distributor's) software support it is. Not in
    mine.

    >
    > > Why I'm writing this: If something can go wrong, eventually it will. For a true
    > > disaster you always need more than just one problem (1: Kernel freeze, 2: no fsck
    > > being run, 3: kernel happily mounts unclean filesystem for read-write).
    >
    > 3 is feature. It prints warning, but lets you mount it. I sometimes mount
    > broken fs's rw; it actually saved me once when I was hitting fsck bug.
    > It is also handy when quickly recovering scratch machine.
    >
    > MS-DOS had no fsck... and survive. ext2 can survive with similar results
    > if you just dont fsck...

    The syslog was full with attempts to access the device outside its limits. Seems
    there was some bad constellation after the kernel crash.

    >
    > > I think nobody really wants to read reports where Linux has shreddered a
    > > filesystem, do we?
    >
    > I actually liked your report ;-).

    (after two days of work and reinstalling about 90% of the RPMs I have a working
    system again. The other stupid thing that doesn't belong to this list is: RPM v4
    fails to install a package if one of the packet's file targets exists as a
    directory (happened after the crash and fsck to me). RPM then seems unable to
    cleanup and leaves aditional files with a semicolon and hexadecimal number as
    suffix then. Repeated invocations create new files then...)

    Regards,
    Ulrich
    (& thanks for replying)

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Chris Wedgwood: "Re: kconfig's file handling (was: XFS: how to NOT null files on fsck?)"

    Relevant Pages

    • Re: Impressions of Gentoo
      ... I'm thinking of giving Gentoo a try. ... for was 1) the kitchen-sink installation and 2) being rpm-based and the ... packages to have it install I ended up with a lot more stuff than I ... No rpm!! ...
      (comp.os.linux.misc)
    • Re: File System crash
      ... > My linux installation is a Debian Woody (just downloaded the image files ... > After running fsck Debian started fine again, ... I suspect that at some level disk addresses beyond 128 GiB ... so I would check your kernel version. ...
      (Debian-User)
    • Re: Install from .tar.gz
      ... simply wondered why the RPM tree was empty, ... YaST makes it possible to place ... or uninstalling a previously installed package? ... first, before starting an installation. ...
      (alt.os.linux.suse)
    • Re: Modem configuration:
      ... Rob is having trouble with the ltmodem RPM for Redhat ... installation script failed midway through because /dev/modem already ... because the RPM database thought the package was already ... package ltmodem is not installed ...
      (comp.os.linux.hardware)
    • Re: [SLE] Booting Problem
      ... Please repair manually and reboot. ... except rebooting during the installation. ... > 'fsck failed' again. ... that normally it is NOT a problem with a partition gone bad. ...
      (SuSE)