HTREE corruption

Eric Sandeen sandeen at redhat.com
Thu May 29 13:33:47 UTC 2008


Alex Bligh wrote:
> A power interruption caused an HTREE problem which appears to upset ext3
> fsck.

You probably want to run with barriers enabled to avoid this next time.
;)  (there was a recent discussion on whether they should be default, to
protect situations like this...)

> Googling for '"Problem in HTREE directory inode" "has invalid depth"'
> produces relatively few hits, and none where fsck dies.
> 
> Log below.
> 
> Running fsck manually offered the option of clearing 2 HTREE directory
> inodes, which then produced a clean file system, which checks OK with
> "fsck -f".
> 
> Anything to be worried about here?

Hm, well I would suppose that fsck should not die, in any case.

You could find /mount/point -inum 16057109 to see which directory it was
and go see how it's looking, post-fsck....

-Eric

> Alex
> 
> 
> Log of fsck -C -V -R -A -a
> Thu May 29 10:32:18 2008
> 
> fsck 1.40-WIP (14-Nov-2006)
> Checking all file systems.
> [/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a -C0 /dev/hda7
> /dev/hda7: clean, 4905/2443200 files, 272743/4885760 blocks
> [/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a -C0 /dev/hda5
> /dev/hda5: clean, 57/245280 files, 30013/489974 blocks
> [/sbin/fsck.ext3 (1) -- /usr] fsck.ext3 -a -C0 /dev/hda6
> /dev/hda6: clean, 80834/2443200 files, 465978/4885760 blocks
> [/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a -C0 /dev/hda8
> /dev/hda8: clean, 18719/12222464 files, 4554802/24416784 blocks
> [/sbin/fsck.ext3 (1) -- /var/imap] fsck.ext3 -a -C0 /dev/hda9
> /dev/hda9 contains a file system with errors, check forced.
> /dev/hda9: Problem in HTREE directory inode 16057109: node (256) has 
> invalid depth
> /dev/hda9: Problem in HTREE directory inode 16057109: node (256) has bad 
> max hash
> /dev/hda9: Problem in HTREE directory inode 16057109: node (256) not 
> referenced
> /dev/hda9: Problem in HTREE directory inode 16057109: node (257) has 
> invalid depth
> /dev/hda9: Problem in HTREE directory inode 16057109: node (257) has bad 
> max hash
> /dev/hda9: Problem in HTREE directory inode 16057109: node (257) not 
> referenced
> (and so on for nodes 258 to 1222)
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1223) has 
> invalid depth
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1223) has bad 
> max hash
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1223) not 
> referenced
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1224) has 
> invalid depth
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1224) has bad 
> max hash
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1224) not 
> referenced
> /dev/hda9: Problem in HTREE directory inode 16057109: node (1225fsck died 
> with exit status 4
> 
> Thu May 29 10:51:25 2008
> ----------------
> 
> 
> _______________________________________________
> Ext3-users mailing list
> Ext3-users at redhat.com
> https://www.redhat.com/mailman/listinfo/ext3-users




More information about the Ext3-users mailing list