Bobcares

EXT3 FS error bad entry in directory

by | Jan 2, 2023

Wondering how to resolve EXT3 FS error bad entry in directory?Our server management services team is here to lend a hand with your queries and issues.

How to resolve EXT3 FS error bad entry in directory?

ext3, or third extended filesystem, is a journal file system that is commonly use by the Linux kernel.

At reboot, or mount of an EXT3 file-system, an error similar to the one below is seen:

EXT3-fs error (device dm-0): ext3_readdir: bad entry in directory #5556142: rec_len is smaller than minimal – offset=0, inode=2553887680, rec_len=0, name_len=0

Today, let us see the steps follow by support techs to resolve it:

This error is caused by a file that have marke as a directory.

This is a non-fatal error and can fix by removing the file in question.

  1. Firstly, mount the file-system in question
  2. Then, locate the file that has corrupt. The file’s inode is the number after “bad entry in directory” Using the example error code the file would found by typing
    find /MOUNT_POINT-inum 5556142
  3. Next, delete the file identify in step two
  4. Next, umount the file-system
  5. Then check the disk, and check for errors.
    fsck/dev/PHYSICAL_DEVICE
  6. Finally, repeat step 5. If no errors, the file-system is clean.

 

[Need help with another issue? We’re available 24/7.]

Conclusion

The article provides a brief note from our Support team on how to resolve EXT3 FS error bad entry error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.