My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

EXT3 file-system error "bad entry in directory"

This document (3554036) is provided subject to the disclaimer at the end of this document.

Environment

Novell Linux Desktop 9
Novell Open Enterprise Server 1 (OES1) Support Pack 2 Linux
Novell Open Enterprise Server 2 (Linux based)
Novell openSUSE 10.X
Novell SUSE Linux Desktop 1.0
Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 9

Situation

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

Resolution

This error is caused by a file that has been marked as a directory. This is a non-fatal error and can be fixed by removing the file in question.

  1. Mount the file-system in question
  2. Locate the file that has been corrupted. The file's inode is the number after "bad entry in directory" Using the example error code the file would be found by typing
    find /MOUNT_POINT-inum 5556142
  3. Delete the file identified in step two
  4. Umount the file-system
  5. Check the disk, and check for errors.
    fsck/dev/PHYSICAL_DEVICE
  6. Repeat step 5. If no errors, the file-system is clean.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3554036
  • Creation Date:05-JAN-08
  • Modified Date:30-APR-12
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Real Time Extension
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center