EXT4-fs error 'Directory hole found' due to corrupt directory block

Solution Verified - Updated -

Issue

EXT4 filesystem reports a 'Directory hole found' error in the logs, indicating metadata corruption in a directory block, often leading to potential data access issues.

 EXT4-fs error (device dm-X): __ext4_read_dirblock:801: inode #1234567: block 5: comm ls: Directory hole found
 EXT4-fs error (device dm-X): __ext4_read_dirblock:801: inode #1234567: block 5: comm ls: Directory hole found
 EXT4-fs error (device dm-X): __ext4_read_dirblock:801: inode #1234567: block 5: comm ls: Directory hole found
 EXT4-fs error (device dm-X): __ext4_read_dirblock:801: inode #1234567: block 5: comm ls: Directory hole found

Environment

  • Red Hat Enterprise Linux 7
  • ext4

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