Hello, tried to set timeout=7200 on both sides also enabled logging in rsyncd
Here is output from server 2012/08/02 15:07:23 [2339] connect from ms-backup.xx.local (192.168.5.213) 2012/08/02 15:07:23 [2339] rsync to iSCSI-backup/ from backup-rsync@ms- backup.xx.local (192.168.5.213) 2012/08/02 13:07:23 [2339] receiving file list 2012/08/02 13:27:26 [2339] rsync error: timeout in data send/receive (code 30) at io.c(137) [receiver=3.0.7] 2012/08/02 13:27:27 [2339] rsync: connection unexpectedly closed (95 bytes received so far) [generator] 2012/08/02 13:27:27 [2339] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [generator=3.0.7] Here is output from client opening tcp connection to 192.168.5.250 port 873 sending daemon args: --server -vvte.Lsf --timeout=7200 --numeric-ids --inplace . iSCSI-backup/ rsync: connection unexpectedly closed (2933968 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9] real 20m3.942s user 0m0.064s sys 0m0.156s Command line was time rsync -vv --contimeout=7200 --timeout=7200 --inplace --progress -- numeric-ids --times --password-file .passwd iscsi/iscsiDisk1 rsync://backup- rsync@192.168.5.250:/iSCSI-backup/ Libor Dne Thursday 02 August 2012 14:20:19, Paul Slootman napsal(a): > On Thu 02 Aug 2012, Libor Klepáč wrote: > > Ok, i'l try setting timeout, but according to documentation, default is > > timeout=0 which means no timeout. > > IIRC setting the timeout explicitly on both ends (if you're using an > rsync daemon) to the same value will cause some sort of heartbeat > activity. Note also that an inferior firewall may also "forget" the > connection if there is no traffic for a longer period of time. > > > Maybe setting --contimeout to some large value should help? > > No, I'm quite sure that has nothing to do with this; you _had_ a > connection, which timed out. --contimeout is for the timeout for making > the initial connection. > > > Paul
signature.asc
Description: This is a digitally signed message part.
-- 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