On Mon, 18 Apr 2011 16:51:32 +0200, Florian Philipp wrote: > In the setup Neil proposes, every client mounts an NFS share from your > server and uses that as its DISTDIR (where it stores the downloaded > files). For downloading files, the clients access the normal public > Gentoo mirrors but because all clients share the same directory, files > that some client has already downloaded are also available for every > other client. Therefore they will not be downloaded twice.
Exactly. > The only possible problem with this approach is that two clients might > attempt to download the same file at the same time. Just make sure to > start your updates at different times to avoid this. I believe this is no longer an issue as portage now uses file locks over NFS. I don't know if it does the same with CIFS shares, I've never tried it. Incidentally, my cron script that runs emerge --sync follows it with emerge-uDNf world, so the files are already in $DISTDIR when I want to update. -- Neil Bothwick "I am a Cub Ranger. We dib dib dib for the One. We dob dob dob for the One."
signature.asc
Description: PGP signature