Issue while doing rsync from ubuntu mirrors

Jared Norris jrnorris at gmail.com
Wed Jun 19 05:49:17 UTC 2013


On 19 June 2013 15:37, Mail List <maillist at crucialp.com> wrote:

> Hi All,
>
> We are facing an issue while rsyncing packages from the ubuntu mirrors.
>
> The commands we used are as the following
> ----
> /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://
> mirror.uber.com.au/ubuntu/archive/ /distros/ubuntu;
>
> /usr/bin/rsync -avzH --bwlimit=50000 --delay-updates --delete
> --exclude-from=/opt/crucial_mirror/ubuntu-exclude-list.txt rsync://
> mirror.uber.com.au/ubuntu/archive/ /distros/ubuntu;
> ----
>
> The command will start rsync process, however after a few hours, it will
> get failed with an error message like this:
> ----------
> rsync: read error: Connection reset by peer (104)
> rsync error: error in rsync protocol data stream (code 12) at io.c(759)
> [receiver=3.0.6]
> rsync: connection unexpectedly closed (21172499 bytes received so far)
> [generator]
> rsync error: error in rsync protocol data stream (code 12) at io.c(600)
> [generator=3.0.6]
> ----------
>
>
> Earlier, we have tried without setting bandwidth limit for rsync, however
> that also failed.
>
> We tried to rsync from several mirrors (uber, aarnet). However, all failed.
>
> This command worked well when we tried to sync from mirrors of other
> favors. Any issues noted with Ubuntu mirrors?
>
> Regards
> CP Support
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

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:

rsync -vtlrh --ipv4 --progress --stats --delete --exclude .~tmp~/
www.mirror.aarnet.edu.au::ubuntu /media/Repository/ubuntu/

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 http://rsync.samba.org/issues.html). 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.



-- 
Regards,

Jared Norris
https://wiki.ubuntu.com/JaredNorris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130619/6748327f/attachment.html>


More information about the ubuntu-users mailing list