weird rsync issue
rsync fails on some directories while on others it works without issue. Here are the inportant items: On theserver from which directories are being copied: more /etc/rsyncd.conf [abcd] path = /xyz/abcd comment = abcd uid = 0 gid = 3 read only = yes list = no auth users = test-abcd secrets file = /etc/rsyncd.passwd strict modes = true hosts allow = refuse options = delete* transfer logging = true tail -f /var/adm/rsyncd.log 2012/08/21 14:10:31 [15544] connect from hostname (IP) 2012/08/21 14:10:36 [15544] rsync: connection unexpectedly closed (22 bytes received so far) [receiver] 2012/08/21 14:10:36 [15544] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6] 2012/08/21 14:22:04 [15784] connect from hostname (IP) 2012/08/21 14:22:10 [15784] rsync: connection unexpectedly closed (22 bytes received so far) [receiver] 2012/08/21 14:22:10 [15784] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6] ON the client to which directories are being copied to: The command being run is: /opt/rsync/bin/rsync -av --delete --exclude-from=/var/scripts/.exclude test-abcd@::abcd/data/ //data and it prompts for a password, ssh has been setup for passwordless passthrough for root bash-3.00# ssh date Tuesday, August 21, 2012 03:51:58 PM CDT bash-3.00# -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
do the "::" mean that rsync is in server daemon mode
and is rsh the only supported mechanism in this mode? -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Destination file is larger than source file
We are using the standard -av switch. And both filesystems are the same - UFS. /opt/rsync/bin/rsync -av -e "ssh -l root" --delete --exclude-from=/var/scripts/exclude --password-file=/var/scripts/transfer.passwd @::/ / Source system :# du -sh * 1K nohup.out 20G file1.dbf 3.9G file2.dbf 7.6G file3.dbf 1K x1 1K x2 Destination system bash-3.00# du -sh * 1K nohup.out 20G file1.dbf 16G file2.dbf 7.6G file3.dbf 1K x1 1K x2 -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
we have about 60 directories that rsync fine
issue is with 3 directories. Is it possible that some files in those directories are "open", being written to etc that causes the issue? connection reset by peer is the message we get. This is rsync in daemon mode on TCP port 873 -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync in daemon mode
Hi, We use one server from which many other clients download files. This operates in daemon mode over ssh. Is it possible that there is a max number of connections the rsyncd can have on the server? Where is this value set? This is what I see on the client side: rsync: read error: Connection reset by peer (131) rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6] rsync: connection unexpectedly closed (88 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [generator=3.0.6] This was while rsync was operating on a sparse file, I have since added the --sparse flag to it. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Is the --sparse option suitable for .dbf files
Please let me know -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Is rsync -avS same as rsync -av --sparse
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Huge rsyncd.log file - what do I grep for to debug rscync failures
Hi, -rw-r--r-- 1 root other5291457346 Sep 6 13:44 rsyncd.log what pattern should I grep for to send you guys more information on rsync failures (server side) Client side messages are: rsync of /oradb/d10 appeared to complete with NON-NOMINAL status (rc=12) at Thu Sep 6 07:33:58 PDT 2012 with the following files reported in output: receiving incremental file list HR8PRD/temp1_02.dbf rsync: read error: Connection reset by peer (131) rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6] rsync: connection unexpectedly closed (88 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [generator=3.0.6] errors are being generated ONLY on sparse files I had put in the --sparse switch, now trying with the -avS options Thank you -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync in daemon mode, no lock file generated
We are running rsync in daemon mode (::) (two colons), and in /etc.rsyncd.conf there is a lock file specified: log file = /var/adm/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock But I do not see the lock file... -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
SUMMARY:rsync in daemon mode (::) producing errors
HI all, Thanks to all who responded to my email and question. Thanks also to those who did not. The solution was to use -e "ssh -l root -c arcfour" to do the actual transfer.so that rsyncd on one host is not talking to rsyncd on the other host directly, rather ssh is being used for the actual transfer. Thanks again. I appreciate it. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html