xfs
[Top] [All Lists]

Re: ghost files

To: James Rich <james@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ghost files
From: Marc Schmitt <mschmitt@xxxxxxxxxxx>
Date: Wed, 04 Feb 2004 18:36:27 +0100
Cc: XFS mailing list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.50.0402041006580.3551-100000@xxxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.50.0402041006580.3551-100000@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
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





<Prev in Thread] Current Thread [Next in Thread>