Cygwin: 2.6.0, rsync 3.1.2, "file has vanished"

Wayne Davison wayne@opencoder.net
Mon Nov 28 22:41:00 GMT 2016


On Sun, Nov 27, 2016 at 11:07 PM, Shaun Maher <shaun@mach.com.au> wrote:
>   file has vanished: "BackUps(old)/Backup Pre-Rolled Payroll 2015"16-MBTT2016.zip" (in VSSG)

Those file-has-vanished errors shouldn't be affected by the --iconv
option because that is a sender-side error, and the rsync sender
directly reads file names via readdir() and then tries to stat() those
names (it is the receiving side that might get converted names via the
--iconv translations).

So, the question is: why is rsync getting a filename via readdir that
it can't stat?  Can you try out this C program:
http://opencoder.net/list-and-stat.c

You compile it with gcc ("gcc -o list-and-stat list-and-stat.c") and
then run it with a directory name where one of your problem files
exists. It will output things like this:

74 65 73 74 e2 b8 b1 66 69 6c 65 | test⸱file

If you see a "FAILED to stat" message, send the byte sequence for that
file to the list and mention what filesystem type it is mounted on.

If it doesn't generate an error, what rsync version are you using? Is
it the cygwin version or something else?

The error indicates that an rsync daemon module is involved (the "in
VSSG" bit), so you might try a manual rsync copy of a problem file and
see if the issue is the daemon context or rsync in general.

..wayne..

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list