Re: Rogue Filename - Can't Do A Thing With It
On Wed, May 20, 2009 at 10:39:38AM -0400, Hal Vaughan wrote:
> Recently I started getting errors from rsync on a machine I don't tend
> to have to log on to very often. I checked the bad directory and get
> this:
>
> [hal@scarecrow:threshNet]$ ls -l reportX
> total 0
> ?--------- ? ? ? ? ? reportX/2009-raw?@?
>
> At this point this is the only file in the directory. Originally the
> directory was "report" but I changed it to "reportX" and moved all the
> other files out of that directory and into the new one (since my rsync
> cron job only backs up specific directories). If there are more files
> in that directory, I get just the file names, but this rogue file shows
> up in the listing with the directory name first -- every time. I've
> tried this:
>
> [hal@scarecrow:threshNet]$ rm reportX/*
> rm: cannot lstat `reportX/2009-raw\237@\037': No such file or directory
Sounds to me like you may be dealing with a (hopefully) minor case of
filesystem corruption. Have you tried running fsck over that device?
(Don't forget to unmount it first!)
--
Dave Sherohman
Reply to: