FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EXT3 Users

 
 
LinkBack Thread Tools
 
Old 08-25-2008, 06:40 PM
Ross Boylan
 
Default Problem in HTREE directory node

Short version:

fsck said
"invalid HTREE directory inode 635113
(mail/r/user/ross/comp/admin-wheat) clear HTREE index?" To which I
replied Yes.

What exactly does this mean was corrupted? In particular, does it mean
the list of files in the directory .../comp/admin-wheat was damaged? Or
is the trouble in the comp directory?

Is fsck likely to have fixed up things as good as new, or might
something be lost or corrupted? I don't know what clearing the HTREE
index does.

How can I check if things are OK? I have backups.



Longer version:

After an ugly but should have been clean shutdown I got reports that
most of my partitions were unclean. There were a lot of logs replayed.
The partitions are almost all LVM volumes. My mail spool is ext3, and
fsck showed
"Problem in HTREE directory inode 635112 node (627) not referenced.
Problem in HTREE directory inode 635112 node (628) has invalid depths
Problem in HTREFsdck died with exit status 4."
The message continued with info on a possible log (which wasn't
there--maybe because I use an initrd?) and need for
manual check. There were too many messages, about consecutively
numbered nodes, to see them all (always in pairs as above). 628 was
the last.

Manual fsck tells me I can't use auto mode. Full manual gives
"invalid HTREE directory inode 635113
(mail/r/user/ross/comp/admin-wheat) clear HTREE index?"
I said Yes, and run completed. Reboot.

Still FS not clean messages for most, and
"cyrspool primary superblock features different from backup, check
forced."
Finally it starts.

I'm running a Linux 2.6.25 kernel on a P4; that particular partition was
on a SATA disk. I recently added another SATA disk and added it to the
volume group that included my mail spool. I have some IDE disks too.

When LVM starts up it gives the error
Parse error at byte 3306 (line253): unexpected token
9 times. I think it's been doing this for a long time. It seems to
discover and activate all the volume groups.

So, my main questions are up above ("short version"). I also wonder
why, even after my manual fsck, I got the error about the primary
superblock features differeing.

My more general, and probably harder, question, is how things could have
gotten into this state.

Thanks for any insight.
Ross Boylan

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 
Old 09-03-2008, 04:09 PM
Theodore Tso
 
Default Problem in HTREE directory node

On Mon, Aug 25, 2008 at 11:40:06AM -0700, Ross Boylan wrote:
> Short version:
>
> fsck said
> "invalid HTREE directory inode 635113
> (mail/r/user/ross/comp/admin-wheat) clear HTREE index?" To which I
> replied Yes.
>
> What exactly does this mean was corrupted? In particular, does it mean
> the list of files in the directory .../comp/admin-wheat was damaged? Or
> is the trouble in the comp directory?
>
> Is fsck likely to have fixed up things as good as new, or might
> something be lost or corrupted? I don't know what clearing the HTREE
> index does.

That just means that the interior nodes in the HTREE were corrupt. If
you give permission to clear the htree index, e2fsck put the inode on
the list of directories that need to have their HTREE indexes rebuilt,
and a "Pass 3A" will rebuild the directory's (or directories') HTREE
indexes. This is similar to what "e2fsck -fD" does, except it only
rebuilds directories whose HTREE indexes were corrupted, instead of
rebuilding and optimize all of the directories in the system.

So if that was the only message you received, and there were no other
reports of damage to the directory, you wouldn't have lost any
directory names. It's in all likelihood "good as new".

Regards,

- Ted

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 

Thread Tools




All times are GMT. The time now is 05:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org