Date: Fri, 15 Jan 2021 16:17:59 +0100 From: Julien Cigar <julien@perdition.city> To: freebsd-jail@freebsd.org Subject: dedicated dataset for jail data Message-ID: <20210115151759.knt226zijxh453xf@x1>
next in thread | raw e-mail | index | archive | help
Hello, I have a host with a lot of jails, which are deployed automatically with Saltstack (thanks to https://github.com/silenius/jails-formula). I usually create two datasets per jail: one for the jail itselfs, and one for the "data". The idea is to be able to easily upgrade the jail without touching the "data". So I have something like (1). I have one fstab per jail which mount the corresponding "data" dataset under the jail, something like: ~/ cat /etc/fstab.nextcloud /data/jails/nextcloud /jails/nextcloud/data nullfs rw 0 0 I'd like to know if there is a better way of handling this, without involving nullfs if possible and how do people usually manage that..? (1) https://gist.github.com/silenius/f1899ebb5cf58ca33b3e5edafc85d549 Thanks! Julien -- 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?20210115151759.knt226zijxh453xf>