From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 175CD158089 for ; Tue, 5 Sep 2023 07:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 757002BC036; Tue, 5 Sep 2023 07:04:25 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 163B32BC01A for ; Tue, 5 Sep 2023 07:04:24 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.4]) by mail.digimed.co.uk (Postfix) with ESMTPA id 984106A445 for ; Tue, 5 Sep 2023 08:04:23 +0100 (BST) Date: Tue, 5 Sep 2023 08:04:19 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Is distfile partial mirror with failover possible? Message-ID: <20230905080350.3feba5a5@digimed.co.uk> In-Reply-To: References: <2900905.e9J7NaK4W3@rogueboard> <20230904182127.47147c1a@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_//SMUKD.dAF1T11V0x.25sTe"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 41aae71e-67e8-41a5-8b74-2e7aea96e11b X-Archives-Hash: ed4b359bb576196ec7beb7e05cca7665 --Sig_//SMUKD.dAF1T11V0x.25sTe Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: > On Mon, Sep 04, 2023 at 06:21:27PM +0100, Neil Bothwick wrote > > I use apt-cacher-ng for this and it does what you are looking for. =20 >=20 > https://wiki.gentoo.org/wiki/Local_distfiles_cache#Open_issues says... >=20 > > Open issues > > > > * Apt-cacher-ng installs a cron job to delete unreferenced files > > from the cache. Since the Gentoo cache contains no index files, > > this probably deletes either everything or nothing from it. =20 >=20 > Have you run into ptoblems with this? Not that I've noticed. > It looks like remote-mounting /var/cache/distfiles might be the > quick-n-dirty solution like Alan suggested. And I never have a need to > have emerge run simultaneously on more than one machine. It seems the simplest suitable solution for your needs. --=20 Neil Bothwick A pessimist complains about the noise when opportunity knocks. --Sig_//SMUKD.dAF1T11V0x.25sTe Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEGfLZTV7dXdQXh/dDdCdyyQfftocFAmT20vMACgkQdCdyyQff tofysA/9F+GubN2IGTNw8WQHSNyhoWNR67gBt70cUu1WKRrBggBbBLaK04vhWtFz +y33hUFdBSE/rU/s5nmwWKxrtFkd3nHiDQIzWFTo4cjrjGpxi4HGTwl53r6mYHa/ aoaNyPKV+q85Mx9Sc5IJzx/3UUSOVUnAAnBZ8YrJT2YUcb60Ep/cTuDQ2JkD5NnM wYBVKGxp5fin05fbRQbvFcOZocsnggDZoNGTsSnEX0NQMFjVEBoUlI58OkJy9C8H seaG0ud+WqEcFEDfcv0b9LsJN+4qmgPEtReVv64tkaF/z5asqwsM0mbFizQ6Ikr0 BtMEMx/Tj8PGZ+HrkDvGrNTSHB/HvmDUTtUW4zNtBWNkW6yEkAvpd7eFVENyfujn pc9JErlxqHi/rVF904tJsoin4r/hh1mpj0+t2O5jFKluGxJA1C231uOUP8eQrE4u K5sS0//ckxorTs0f01SMdWQ9SM/qJidW1LTuTDIh4PXxeBhmOjdPRMf3+UHO7BdG LEDOO84MoqzrNy/d4roVgpTpWwa5ea50DsjwiUD4H3T784wzEdtSYNxg6mjCkqPk aK9uyorE1MlQ77ZmFH+0odcpDFiQG31WjjAl2Vp17ePpSZi/8WlG9aIkHIKui4Qt kpjKXwqt2AKuBHf4jk3gxAzGzK29f+q8XaTqySBTmR+bMBfV+WQ= =1HB4 -----END PGP SIGNATURE----- --Sig_//SMUKD.dAF1T11V0x.25sTe--