strange non-eraseable mixture between file and directory on ext3 FS

Dominik Brodowski linux at
Sun Sep 5 18:18:05 UTC 2004


On my notebook I got a strage ext3-related problem: 

root at jura98 /usr/portage/app-misc/obexftp # ls -l
total 4
dr-Sr-sr-t  2 8242 15720 4096 Dec 28  1993 metadata.xml

[how this got created is beyond my knowledge, possibly because of some
random memory corruption a bad kernel patch caused a few weeks ago]

root at jura98 /usr/portage/app-misc/obexftp # rm metadata.xml/
rm: cannot remove 
etadata.xml/': Is a directory

root at jura98 /usr/portage/app-misc/obexftp # rm metadata.xml
rm: cannot remove 
etadata.xml': Operation not permitted

root at jura98 /usr/portage/app-misc/obexftp # rm -r metadata.xml/
rm: cannot remove directory 
etadata.xml/': Operation not permitted

e2fsck 1.35 (28-Feb-2004)
        Using EXT2FS Library version 1.35, 28-Feb-2004
doesn't help:

root at jura98 /usr # e2fsck -f /dev/hda5
e2fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda5: 97724/1221600 files (0.9% non-contiguous), 977409/2441872 blocks

Does anybody have any idea on what could be done?


More information about the Ext3-users mailing list