Article ID: 119934, created on Jan 31, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.6

Symptoms

Online migration from PVC 4.6 to PCS 6.0 fails with the error:

1390179757: rsync : rsync error: timeout in data send/receive (code 30) at io.c(173) [receiver=2.6.9]
1390181617: rsync : rsync: connection unexpectedly closed (244353796 bytes received so far) [generator]
1390181617: rsync : rsync error: error in rsync protocol data stream (code 12) at io.c(463) [generator=2.6.9]
1390181618: rsync : unexpected tag 42
1390181618: rsync : rsync error: error in rsync protocol data stream (code 12) at io.c(320)
1390181618: /usr/local/share/vzlinmigrate/rsync exited with code 12
1390181618: cleaning : umount tmp dir /vz/tmp/vzmigrate.OS4OLG
1390181618: Can't move/copy CT#99999 -> CT#99999, [], [] : /usr/local/share/vzlinmigrate/rsync exited with code 12

or:

1417057280: rsync : io timeout after 3600 seconds - exiting
1417057280: rsync : rsync error: timeout in data send/receive (code 30) at io.c(108)
1417057280: /usr/local/share/vzlinmigrate/rsync exited with code 30

Cause

The issue with migration is caused by a bug in rsync (2.5.7) on the source PVC 4.6 node: https://bugzilla.redhat.com/show_bug.cgi?id=471182

The problem is recognized as a product bug with internal ID PCLIN-32338.

Resolution

Manually replace the binary /usr/local/share/vzlinmigrate/rsync with the attached one

# ll /usr/local/share/vzlinmigrate/rsync
-rwxr-xr-x 1 root root 1146696 Jan 20 08:39 rsync

Search Words

code 12

timeout in data send/receive (code 30)

error in rsync protocol data stream (code 12)

rsync error

code 30

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f c62e8726973f80975db0531f1ed5c6a2 0dd5b9380c7d4884d77587f3eb0fa8ef 36627b12981f68a16405a79233409a5e

Email subscription for changes to this article
Save as PDF