Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2020 10:42:11 +0100
From:      Julien Cigar <julien@perdition.city>
To:        antranigv <antranigv@freebsd.am>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: Upgrading multiple Jails via freebsd-update
Message-ID:  <20201214094211.xlesr2cd32bjgkr6@x1>
In-Reply-To: <5db512d7b8a9a27000b5f2742a3da71d112a681b.camel@freebsd.am>
References:  <5db512d7b8a9a27000b5f2742a3da71d112a681b.camel@freebsd.am>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 13, 2020 at 04:04:39PM +0400, antranigv wrote:
> Greetings!

Hello,

> 
> freebsd-update is an amazing tool to upgrade the system without
> compiling from sources and upgrading jails can be as easy as freebsd-
> update -b /path/to/jail upgrade -r 12.2-RELEASE, however I have noticed
> that when using the utility multiple times, it still fetches the files
> multiple times.
> 
> My question is: Is there a way to use FreeBSD-update in a way, that
> allows the user to download once and upgrade multiple Jails. I run
> dozens of jails on multiple hosts and it's very frustrating to download
> the same content.
> 
> I think it's okay for the patch files to be downloaded every time
> (freebsd-update fetch install), since they are small and don't require
> a lot of time, but the upgrade process is somehow a pain.
> 
> Some things I know I don't want: 1) Thin Jails (I like using zfs clone
> on ZFS systems and tar xf base.txz -C jail0/ on UFS) as a solution,
> since I change the base a lot. 2) Using network caching (say, via
> Varnish), it seems like more overhead, although any new suggestions
> would be nice 3) compiling the sources at all (but I'm rethinking this
> lately, however my CPU is not that fast).
> 
> Any tips and suggestions would be nice!
> 
> P.S. In an ideal solution, it would be nice to just download the ISO or
> tarballs from the mirrors and pass that to freebsd-update, but looks
> like that required a lot of work.

You could setup a caching proxy for freebsd-update with nginx (or ...)

> 
> -- 
> antranigv
> https://antranigv.am/
> 
> 
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201214094211.xlesr2cd32bjgkr6>