Re: e2fsck too old / ext3 HTREE errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 23, 2003  14:11 +0100, Christian wrote:
> now the machine is up and running, but i have to use e2fsprogs 1.27 
> (8-Mar-2002). it's a debian system and i wanted to stay sane & stable, 
> hence using an older version of e2fsprogs.
> 
> but now i tried to check my fs and all i get is:
> 
> root@sheep:/# fsck.ext3 -v /dev/sda8
> e2fsck 1.27 (8-Mar-2002)
> fsck.ext3: Filesystem has unsupported feature(s) (/dev/sda8)
> e2fsck: Get a newer version of e2fsck!
> root@sheep:/#
> 
> ##uuh, 1.30-WIP must be using some features to create a fs, which 1.27 
> ##does not understand.
> ##so i grabbed 1.30-WIP and compiled the tools by myself (i can't use 
> ##the binary-compiled version of 1.30-WIP because i would have to 
> ##upgrade my libc6 -- and i don't wanna do this)
> ##
> ##now, weird things happen:
> 
> root@sheep:/# /usr/local/sbin/fsck.ext3 -v /dev/sda8
> e2fsck 1.30-WIP (30-Sep-2002)
> /dev/sda8: clean, 615/48960 files, 31719/195568 blocks
> 
> ### ok, but didn't trust this 'clean':
> 
> root@sheep:/# /usr/local/sbin/fsck.ext3 -fv /dev/sda8
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 3A: Optimizing directories
> Optimizing directories:  16430
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> 
> /dev/sda8: ***** FILE SYSTEM WAS MODIFIED *****
> 
> ### fs was modified? what's going on here?
> ### a 3rd run gives:
> 
> root@sheep:/# /usr/local/sbin/fsck.ext3 -fv /dev/sda8
> e2fsck 1.30-WIP (30-Sep-2002)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Problem in HTREE directory inode 16430: node (0) has bad limit (31744)
> Clear HTree index<y>?

Get a newer version of e2fsck (I think 1.32 is available).  The 1.30-WIP
version had a bug in it when regenerating htree indexes.  Also, I'd suggest
disabling htree entirely for now, since (a) your kernel doesn't support it
yet, and (b) there are still some bugs in kernels that _do_ support it.

Sadly, htree is enabled by default with newer e2fsprogs (even 1.32 I think)
so it is kind of a pain.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/



_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux