Re: ftp.kernel.org

From: Mark Watts
Date: Fri May 28 2004 - 06:13:59 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> On Fri, 2004-05-28 09:41:38 +0100, Mark Watts <m.watts@xxxxxxxxxxxxxxxx>
>
> wrote in message <200405280941.38784.m.watts@xxxxxxxxxxxxxxxx>:
> > > On Thu, 27 May 2004, Martin J. Bligh wrote:
> > > That would explain it. The default is to turn it off.
> > >
> > > >Why would you mirror via ftp, instead of rsync anyway?
> > >
> > > I have more control with mirror. And I've been using mirror for
> > > *ahem* a decade. I've been using rsync for mirroring debian, but
> > > it's slow and often fails to complete. Mirror has never let me
> > > down ('tho it has deleted entire archives before *grin*)
> >
> > Agreed - fmirror is so much more reliable than rsync (imho) that it makes
> > rsync into a worst-case option for retrieving files.
>
> Disagree! Mirroring with ftp is possibly quite a waste of bandwidth (at
> least in case partial file transfers etc.), and IIRC you can't reliably
> mirror symlinks (IIRC the "ls"/"dir" output is only ment to be
> human-readable), hardlinks and the like.
>
> If you see aborts, properly set the timeout parameter...

Not aborts, more like this every so often:


rsync: connection unexpectedly closed (598189175 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
rsync: writefd_unbuffered failed to write 4092 bytes: phase "unknown": Broken
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(666)


Mirroring from sunsite.uio.no onto a Dual Xeon with a 1.6TB SCSI RAID
(hardware) array, connected via GigE to a Cisco 4507r GigE switch., using the
following rsync command:

rsync -av --stats --progress --bwlimit=2000 \
rsync://sunsite.uio.no/Mandrakelinux .

Mark.

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtx4nBn4EFUVUIO0RAvxXAKDn3KdNcaRbchkR/weaYuvGlEmEdwCfS0KG
e5Wf/skFHm2sXjzYhDzr2f4=
=aG9D
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/