Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Howzat!
Date: Mon, 18 Apr 2011 15:07:19
Message-Id: 4DAC4FF4.4000002@binarywings.net
In Reply to: Re: [gentoo-user] Howzat! by Peter Humphrey
1 Am 18.04.2011 16:35, schrieb Peter Humphrey:
2 > On Monday 18 April 2011 13:44:45 Neil Bothwick wrote:
3 >> On Mon, 18 Apr 2011 12:22:51 +0100, Peter Humphrey wrote:
4 >>> Has anyone here managed to get http-replicator running on a non-Gentoo
5 >>> box? It would be good to keep a distfiles repository somewhere on the
6 >>> LAN, and the box in question is supposed to be the LAN server, after
7 >>> all.
8 >>
9 >> Why do you need http-replicator for that. Use an NFS share and set
10 >> DISTDIR to its mount point on each Gentoo box. It's far less complicated.
11 >
12 > Perhaps I'm being dense today, but I don't follow you. I was assuming the Atom
13 > box would hold the distfiles and the Gentoo boxes obtain them from it, one way or
14 > another. How are you assuming I'll fetch the files from Out There? I've tried
15 > relying on a Squid proxy, but often it doesn't keep the files I want - even after
16 > I've raised the file size limit to something like 80MB.
17 >
18
19 In the setup Neil proposes, every client mounts an NFS share from your
20 server and uses that as its DISTDIR (where it stores the downloaded
21 files). For downloading files, the clients access the normal public
22 Gentoo mirrors but because all clients share the same directory, files
23 that some client has already downloaded are also available for every
24 other client. Therefore they will not be downloaded twice.
25
26 The only possible problem with this approach is that two clients might
27 attempt to download the same file at the same time. Just make sure to
28 start your updates at different times to avoid this.
29
30 Hope this makes it a bit clearer,
31 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Howzat! Peter Humphrey <peter@××××××××××××××.org>
Re: [gentoo-user] Howzat! Neil Bothwick <neil@××××××××××.uk>