Can be avoided not using -z AFAIK it is an issue with compression on very huge files. Theree are similar discussions on e.g. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741628
** Bug watch added: Debian Bug tracker #741628 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741628 ** Also affects: rsync (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741628 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to rsync in Ubuntu. https://bugs.launchpad.net/bugs/1751489 Title: rsync dies with "inflate returned -3 (0 bytes)" Status in rsync package in Ubuntu: New Status in rsync package in Debian: Unknown Bug description: On Ubuntu 16.04, when rsyncing big KVM VM image (17,055,219,712 bytes), sync error happens each time I try to use command rsync -vaz -e ssh host:/path/to/file ./ The full text printed: inflate returned -3 (0 bytes) rsync error: error in rsync protocol data stream (code 12) at token.c(557) [receiver=3.1.1] rsync: connection unexpectedly closed (72 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [generator=3.1.1] On receiving side: Ubuntu 16.04.3 64bit, rsync 3.1.1-3ubuntu1.2 On remote side: Ubuntu 14.04.5 64bit, rsync 3.1.0-2ubuntu0.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1751489/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

