<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On 19 June 2013 15:37, Mail List <span dir="ltr"><<a href="mailto:maillist@crucialp.com" target="_blank">maillist@crucialp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi All,<br>
<br>
We are facing an issue while rsyncing packages from the ubuntu mirrors.<br>
<br>
The commands we used are as the following<br>
----<br>
/usr/bin/rsync -avzH --bwlimit=50000 --delay-updates --delete --exclude-from=/opt/crucial_mirror/ubuntu-exclude-list.txt --exclude "Packages*" --exclude "Sources*" --exclude "Release*" rsync://<a href="http://mirror.uber.com.au/ubuntu/archive/" target="_blank">mirror.uber.com.au/ubuntu/archive/</a> /distros/ubuntu;<br>
<br>
/usr/bin/rsync -avzH --bwlimit=50000 --delay-updates --delete --exclude-from=/opt/crucial_mirror/ubuntu-exclude-list.txt rsync://<a href="http://mirror.uber.com.au/ubuntu/archive/" target="_blank">mirror.uber.com.au/ubuntu/archive/</a> /distros/ubuntu;<br>
----<br>
<br>
The command will start rsync process, however after a few hours, it will get failed with an error message like this:<br>
----------<br>
rsync: read error: Connection reset by peer (104)<br>
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]<br>
rsync: connection unexpectedly closed (21172499 bytes received so far) [generator]<br>
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [generator=3.0.6]<br>
----------<br>
<br>
<br>
Earlier, we have tried without setting bandwidth limit for rsync, however that also failed.<br>
<br>
We tried to rsync from several mirrors (uber, aarnet). However, all failed.<br>
<br>
This command worked well when we tried to sync from mirrors of other favors. Any issues noted with Ubuntu mirrors?<br>
<br>
Regards<br>
CP Support<br>
<span class=""><font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote></div><br>Is the error the same for both mirrors you are trying to use? Does the rsync start off from where it finished last time? I rsync from aarnet regularly and don't face any problems although it must be said I don't use as much switches. If it helps, my command is:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">rsync -vtlrh --ipv4 --progress --stats --delete --exclude .~tmp~/ www.mirror.aarnet.edu.au::ubuntu /media/Repository/ubuntu/</div><div class="gmail_extra"><br></div>
<div class="gmail_extra">I would start with trying to eliminate errors from the mirror end and internet connectivity end (connection reset by peer seems a bit connectivity related rather than rsync related according to the samba help site - question 3 at <a href="http://rsync.samba.org/issues.html">http://rsync.samba.org/issues.html</a>). Otherwise perhaps give my working one a try and see if it runs all the way though. If that works, I'm at a loss and hopefully someone else can chime in.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br>Regards,<br><br>Jared Norris<br><a href="https://wiki.ubuntu.com/JaredNorris" target="_blank">https://wiki.ubuntu.com/JaredNorris</a>
</div></div>