All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bas van Schaik <bas@tuxes.nl>
To: linux-ext4@vger.kernel.org
Subject: e2fsck dies with error "this should never happen!!!"
Date: Fri, 22 Feb 2008 13:07:13 +0100	[thread overview]
Message-ID: <47BEBAF1.4090505@tuxes.nl> (raw)

Hi all,

Currently, I have a big problem: e2fsck refuses to fix my currupted
filesystem...

The filesystem (about 3TB) is created on an LVM LV, which spans a number
of RAID5 arrays, for which the underlying devices are imported using ATA
over Ethernet. Because of some strange network failure, the filesystem
got corrupted and was remounted read-only.

e2fsck presented me really _a lot_ of errors, especially much duplicated
blocks. After fixing them all, e2fsck restarts the check and after a
while dies with "XXX should never happen!!!". The complete output:

> e2fsck 1.40-WIP (14-Nov-2006)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Directory inode 268451937 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451941 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451945 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451949 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451953 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451957 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451961 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451965 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451969 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451973 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451977 has an unallocated block #1.  Allocate? yes
>
> Directory inode 268451981 has an unallocated block #4.  Allocate? yes
>
> XXX should never happen!!!
> Aborted
>   

Furthermore I'm running the default Debian stable kernel 2.6.18.

When trying to mount the damaged filesystem and removing the directories
which were supposed to have problems (I saw some output about those
directories in earlier e2fsck runs), the filesystem of course reports
problems:

> # dmesg | tail
> kjournald starting.  Commit interval 10 seconds
> EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
> EXT3 FS on loop0, internal journal
> EXT3-fs: mounted filesystem with writeback data mode.
> EXT3-fs error (device loop0): ext3_free_inode: bit already cleared for
> inode 275087393
> Remounting filesystem read-only
>   

Can anyone please help me fix this filesystem? I will be on vacation
next week, so my reply might be a little bit late... Thanks!

Regards,

  -- Bas

             reply	other threads:[~2008-02-22 12:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 12:07 Bas van Schaik [this message]
2008-02-22 12:38 ` e2fsck dies with error "this should never happen!!!" Theodore Tso
2008-02-22 13:14   ` Bas van Schaik
2008-02-22 17:44     ` Bas van Schaik
2008-02-22 17:46       ` Eric Sandeen
2008-02-22 17:55         ` Bas van Schaik
2008-02-22 18:00           ` Eric Sandeen
2008-02-22 18:06             ` Bas van Schaik
2008-02-22 18:27               ` Theodore Tso
2008-02-22 19:31                 ` Bas van Schaik
2008-02-22 19:48                   ` Theodore Tso
2008-03-02 19:08                     ` Bas van Schaik
2008-03-07 13:41                       ` Bas van Schaik
2008-03-07 15:50                         ` Eric Sandeen
2008-03-07 16:29                           ` Bas van Schaik
2008-03-07 17:45                             ` Theodore Tso
2008-03-07 18:12                               ` Bas van Schaik

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=47BEBAF1.4090505@tuxes.nl \
    --to=bas@tuxes.nl \
    --cc=linux-ext4@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.