I had a similar problem with 3 files on ext3 today. What worked for me
was to copy any intact files out of the folder to another partition, `rm
-rf` the folder (in your case xap) and then recreate the folder and copy
the intact files back. The deletion brought up some kernel warnings:
EXT3-fs warning (device sd(8,113)): ext3_unlink: Deleting nonexistent
file (1868346), 0
EXT3-fs warning (device sd(8,113)): ext3_unlink: Deleting nonexistent
file (1868345), 0
EXT3-fs warning (device sd(8,113)): ext3_unlink: Deleting nonexistent
file (1868347), 0
But it worked. Finally I did restore the buggy files from tape, they
were backed up sucessfuly two months ago or so.
I'm not sure if it will work on XFS but might be worth a try.
Marc
James Rich wrote:
Hi folks,
I have a strange thing happening. My rsync mirror of slackware.com has
"ghost files" in it, i.e. files that don't exist yet most file operations
still find them. Here is an example using 'ls':
root@universe:/home/ftp/pub/slackware-current/slackware/xap# ls
/bin/ls: mozilla-1.4.1-i486-1.tgz: No such file or directory
/bin/ls: mozilla-1.4.1-i486-1.tgz.asc: No such file or directory
/bin/ls: mozilla-1.4.1-i486-1.txt: No such file or directory
/bin/ls: gimp-1.3.23-i486-1.txt: No such file or directory
/bin/ls: mozilla-plugins-1.4.1-noarch-1.tgz: No such file or directory
/bin/ls: mozilla-plugins-1.4.1-noarch-1.tgz.asc: No such file or directory
/bin/ls: mozilla-plugins-1.4.1-noarch-1.txt: No such file or directory
Notice 'ls' "sees" these files, but they don't actually exist. I don't
know how to delete what doesn't exist, but I would like to get ls to quit
reporting these files (ls isn't the only command, chown does the same
thing). What should I do?
James Rich
|