EXT3 file-system error "bad entry in directory"
This document (3554036) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10
Situation
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.
- Mount the file-system in question
- 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
- Delete the file identified in step two
- Umount the file-system
- Check the disk, and check for errors.
fsck/dev/PHYSICAL_DEVICE
- Repeat step 5. If no errors, the file-system is clean.
Disclaimer
This Support Knowledgebase provides a valuable tool for 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-2008
- Modified Date:25-Feb-2021
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Real Time
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com