I have a RH 8.0 box which issues the following command to a Windows machine running the most recent version of cygwin. Both boxes have been updated to rsync 2.6.6 and I use the following command from the LINUX BOX (SSH keygen agent is setup for passwordless logins and the IP is aliased under /.ssh/config) rsync -avz --delete --progress -e "ssh" userName@WIndowsBoxIP:/cygdrive/e/www/Apache/htdocs/ /My/Local/Directory/On/Linux/Box Sometime rsync hangs on getting the file list (~1400 Files in many directories) Most times the transfer starts and hangs on the first large file Once the rsync actually completed. There appears to be nothing unusual when using -avvvz /cygdrive/e on the WIndows 2K box is a local drive (not a network share) I have this exact same problem on two different Win2K machiens (Win2K Pro, and Win2K Advanced Server) Any help would be GREATLY appreciated..... Thanks In Advance, Nick
> > ---------- Forwarded message ---------- > From: Nicholas M Saraniti <nick@commcarepharmacy.com> > To: rsync@lists.samba.org > Date: Tue, 04 Oct 2005 15:38:12 -0400 > Subject: rsync hanging on large windows directories > I have a RH 8.0 box which issues the following command to a Windows > machine running the most recent version of cygwin. Both boxes have been > updated to rsync 2.6.6 and I use the following command from the LINUX > BOX (SSH keygen agent is setup for passwordless logins and the IP is > aliased under /.ssh/config) > > rsync -avz --delete --progress -e "ssh" > userName@WIndowsBoxIP:/cygdrive/e/www/Apache/htdocs/ > /My/Local/Directory/On/Linux/Box > > Sometime rsync hangs on getting the file list (~1400 Files in many > directories) > > Most times the transfer starts and hangs on the first large file > > Once the rsync actually completed. > > There appears to be nothing unusual when using -avvvz > > /cygdrive/e on the WIndows 2K box is a local drive (not a network share) > > I have this exact same problem on two different Win2K machiens (Win2K > Pro, and Win2K Advanced Server) > > > Any help would be GREATLY appreciated..... > > Thanks In Advance, > > Nick >In general rsync over cygwin ssh is known to be unstable because of some bugs in cygwin pipes implementation. Your only option is to use rsync in daemon mode. I have been using this method to mirror huge directories and it seems pretty stable. HTH, Hari
On 10/7/05, Nicholas M Saraniti <nick@commcarepharmacy.com> wrote:> rsync in daemon mode? How would I set this up on the Cygwin Box? I am > assuming that the command would be the same from the linux box? >The information can be found in the man page for rsyncd.conf, and it would be same as for linux. You need to setup at least one module and make sure rsync is running in daemon mode. Again, there is information in rsync man page too on the options. HTH, Hari> > >In general rsync over cygwin ssh is known to be unstable because of > >some bugs in cygwin pipes implementation. Your only option is to use > >rsync in daemon mode. I have been using this method to mirror huge > >directories and it seems pretty stable. > > > >HTH, > >Hari > > > > > > >