In /var/log/messages , "EXT3-fs error (device sda1): htree_dirblock_to_tree: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0"

Solution Verified - Updated -

Issue

  • Filesystem is corrupted:
kernel:EXT3-fs error (device sda1): htree_dirblock_to_tree: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
kernel:Aborting journal on device sda1.
kernel: ext3_abort called.
kernel:EXT3-fs error (device sda1): ext3_journal_start_sb:Detected aborted journal
kernel:Remounting filesystem read-only
kernel:EXT3-fs error (device sda1): htree_dirblock_to_tree: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • ext3 filesystem

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content