I am copying from a rsync --daemon (have tried from both W2K/cygwin & Linux daemons) to a W2K machine. Some files get copied every time even though they haven't been touched since the last copy. I have experimented and deturmined that the file size seems to be important. If the file is between 926 & 933 bytes long it will always be copied!! Other sizes and possibly other aspects of the files are causing this as well. I'm using rsync -avz otherend::something somewherelocal The same file from the same server into a Linux machine behaves exactly as it should (i.e. copied the first time only unless changed) uname -a on the W2K gives: CYGWIN_NT-5.0 FRANKNT-2 1.3.4(0.47/3/2) 2001-11-05 16:15 i686 unknown and rsync --version rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 32-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 32-bit system inums, 64-bit internal inums rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. As far as I can see all files are updated, so nothing is lost, but it is wasting bandwidth which is one of the great things about rsync! Anyone seen this before? Anyone know if there are fixes for it? Frank McNamara MCH Konsulting Sweden frank@abacus4.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
Does using --modify-window=2 solve your problem? Some windows filesystems don't have 1 second granularity timestamps. - Dave Dykstra On Tue, Jun 11, 2002 at 09:53:57AM +0000, Frank McNamara wrote:> I am copying from a rsync --daemon > (have tried from both W2K/cygwin & Linux daemons) to a W2K machine. > > Some files get copied every time even though they haven't been touched > since the last copy. I have experimented and deturmined that the file > size seems to be important. If the file is between 926 & 933 bytes > long it will always be copied!! Other sizes and possibly other aspects of > the files are causing this as well. I'm using > > rsync -avz otherend::something somewherelocal > > The same file from the same server into a Linux machine behaves > exactly as it should (i.e. copied the first time only unless changed) > > uname -a on the W2K gives: > CYGWIN_NT-5.0 FRANKNT-2 1.3.4(0.47/3/2) 2001-11-05 16:15 i686 unknown > > and rsync --version > rsync version 2.5.5 protocol version 26 > Copyright (C) 1996-2002 by Andrew Tridgell and others > <http://rsync.samba.org/> > Capabilities: 32-bit files, socketpairs, hard links, symlinks, batchfiles, > no IPv6, 32-bit system inums, 64-bit internal inums > > rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you > are welcome to redistribute it under certain conditions. See the GNU > General Public Licence for details. > > As far as I can see all files are updated, so nothing is lost, but it is > wasting bandwidth which is one of the great things about rsync! > > Anyone seen this before? Anyone know if there are fixes for it? > > Frank McNamara > MCH Konsulting Sweden > frank@abacus4.com > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
That seems to have done the trick! Thanks very much for the tip. Frank>From: Dave Dykstra <dwd@bell-labs.com> >To: Frank McNamara <frank_abacus@hotmail.com> >CC: rsync@lists.samba.org >Subject: Re: Some files always copied to W2K system >Date: Tue, 11 Jun 2002 11:38:25 -0500 > >Does using --modify-window=2 solve your problem? Some windows filesystems >don't have 1 second granularity timestamps. > >- Dave Dykstra > >On Tue, Jun 11, 2002 at 09:53:57AM +0000, Frank McNamara wrote: > > I am copying from a rsync --daemon > > (have tried from both W2K/cygwin & Linux daemons) to a W2K machine. > > > > Some files get copied every time even though they haven't been touched > > since the last copy. I have experimented and deturmined that the file > > size seems to be important. If the file is between 926 & 933 bytes > > long it will always be copied!! Other sizes and possibly other aspects >of > > the files are causing this as well. I'm using > > > > rsync -avz otherend::something somewherelocal > > > > The same file from the same server into a Linux machine behaves > > exactly as it should (i.e. copied the first time only unless changed) > > > > uname -a on the W2K gives: > > CYGWIN_NT-5.0 FRANKNT-2 1.3.4(0.47/3/2) 2001-11-05 16:15 i686 unknown > > > > and rsync --version > > rsync version 2.5.5 protocol version 26 > > Copyright (C) 1996-2002 by Andrew Tridgell and others > > <http://rsync.samba.org/> > > Capabilities: 32-bit files, socketpairs, hard links, symlinks, >batchfiles, > > no IPv6, 32-bit system inums, 64-bit internal inums > > > > rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you > > are welcome to redistribute it under certain conditions. See the GNU > > General Public Licence for details. > > > > As far as I can see all files are updated, so nothing is lost, but it is > > wasting bandwidth which is one of the great things about rsync! > > > > Anyone seen this before? Anyone know if there are fixes for it? > > > > Frank McNamara > > MCH Konsulting Sweden > > frank@abacus4.com > > > > > > _________________________________________________________________ > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > > -- > > To unsubscribe or change options: > > http://lists.samba.org/mailman/listinfo/rsync > > Before posting, read: >http://www.tuxedo.org/~esr/faqs/smart-questions.html > >-- >To unsubscribe or change options: >http://lists.samba.org/mailman/listinfo/rsync >Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx