[Bug 988144] Re: Getting error message: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

Peter Grandi pg at uone.for.sabi.co.uk
Sat May 27 21:10:08 UTC 2017


This happens for me too with files of a few GB sometimes on ULTS 14 with
RSYNC 3.1.0.

> It also works, when I try rsync with -W option at client side.

Same, and for me it works also when specifying '--block-size 4096'.

What this makes me suspect is that the remote 'rsync' process takes too
long to send back the list of block checksums to the local 'rsync' in
some situations, and a smaller checksum granularity, or asking for
checksums to not be computed avoids that.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/988144

Title:
  Getting error message:  error in rsync protocol data stream (code 12)
  at io.c(605) [sender=3.0.9]

Status in rsync package in Ubuntu:
  Confirmed

Bug description:
  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
  Precise 12.04LTS

  2) The version of the package you are using, via 'apt-cache policy
  pkgname' or by checking in Software Center

  Installed: 3.0.9-1ubuntu1
    Candidate: 3.0.9-1ubuntu1
    Version table:
   *** 3.0.9-1ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
          100 /var/lib/dpkg/status

  
  3) What you expected to happen

  I was using rsync to backup my Home DIrectorys' contents and at one
  point in the backup it gave me this error:

       Downloads/Windows.7.Ultimate.32-64Bit.(2011-02-09).iso
    3809312768  83%   21.03MB/s    0:00:35  
       rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
       rsync: connection unexpectedly closed (70735 bytes received so far) [sender]
       rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
       

  This only came about when it was trying to copy my Windows ISO from my
  directory over to my backup drive that I have formatted in EXT4 - so
  I'm not sure of the issue it's having.

  This is the command I used to backup:

  rsync --progress -rEog --exclude Videos/ --exclude converted_music/
  --exclude VirtualBox\ VMs/ --exclude virtual-drives/ --exclude
  Backup_of_boot_sectors/ --exclude examples.desktop --exclude Music/
  --exclude .ecryptfs --exclude .VirtualBox/ --exclude .thumbnails/
  --exclude .thunderbird/ --exclude .vidalia/ --exclude .teamviewer/
  --exclude Templates/ --exclude sources.list --exclude wary-5.3.iso
  --exclude Public/ --exclude .cache/ /home/alex/ /media/backup/12.04
  -Precise-backup_4.23.2012/

  
  Please look into this for me.

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/988144/+subscriptions



More information about the foundations-bugs mailing list