e2fsck: Looping after "Error allocating ..."

Help
2005-05-09
2012-11-28
  • Mike Martin
    Mike Martin
    2005-05-09

    After a power fail one of my ext3 filesystems now cannot pass
    fsck.  After several "Error allocating ... contiguous block(s)"
    e2fsck restarts from the beginning and the process repeats
    indefinitely.

    According to some other cases I found this may have something
    to do with the fact that it's an LV that was once resized (a
    drive was added).  In this case the mke2fs and resize2fs were
    done under e2fsprogs 1.36 on FC3:

        Linux opus 2.6.11-1.14_FC3 #1 Thu Apr 7 19:23:49 EDT 2005 i686 athlon i386 GNU/Linux

    I've since upgraded to 1.37 but I get exactly the same results
    from e2fsck.  Output shown below.  Any ideas?  I'm prepared to
    provide an e2image if it would help.

    Mike

    [root@opus tmp]# e2fsck -v -y /dev/dm-0
    e2fsck 1.37 (21-Mar-2005)
    /home contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Group 343's inode table at 11240465 conflicts with some other fs block.
    Relocate? yes

    Group 343's inode table at 11240466 conflicts with some other fs block.
    Relocate? yes

    Group 343's inode table at 11240467 conflicts with some other fs block.
    Relocate? yes

    Group 343's block bitmap at 11240463 conflicts with some other fs block.
    Relocate? yes

    Group 343's inode bitmap at 11240464 conflicts with some other fs block.
    Relocate? yes

    Group 729's inode table at 23888913 conflicts with some other fs block.
    Relocate? yes

    Group 729's inode table at 23888914 conflicts with some other fs block.
    Relocate? yes

    Group 729's inode table at 23888915 conflicts with some other fs block.
    Relocate? yes

    Group 729's block bitmap at 23888911 conflicts with some other fs block.
    Relocate? yes

    Group 729's inode bitmap at 23888912 conflicts with some other fs block.
    Relocate? yes

    Error allocating 1 contiguous block(s) in block group 343 for block bitmap: Could not allocate block in ext2 filesystem
    Error allocating 1 contiguous block(s) in block group 343 for inode bitmap: Could not allocate block in ext2 filesystem
    Error allocating 512 contiguous block(s) in block group 343 for inode table: Could not allocate block in ext2 filesystem
    Error allocating 1 contiguous block(s) in block group 729 for block bitmap: Could not allocate block in ext2 filesystem
    Error allocating 1 contiguous block(s) in block group 729 for inode bitmap: Could not allocate block in ext2 filesystem
    Error allocating 512 contiguous block(s) in block group 729 for inode table: Could not allocate block in ext2 filesystem
    Restarting e2fsck from the beginning...
    /home contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Group 343's inode table at 11240465 conflicts with some other fs block.
    Relocate? yes

    Group 343's inode table at 11240466 conflicts with some other fs block.
    Relocate? yes

    ... repeated as above