From owner-freebsd-stable@FreeBSD.ORG Mon Feb 9 07:41:01 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10BB3588 for ; Mon, 9 Feb 2015 07:41:01 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB23C648 for ; Mon, 9 Feb 2015 07:41:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.100]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t197epZE026367 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 9 Feb 2015 07:40:53 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t197epZE026367 Authentication-Results: smtp.infracaninophile.co.uk/t197epZE026367; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <54D86477.8000709@FreeBSD.org> Date: Mon, 09 Feb 2015 07:40:39 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: FreeBSD ZFS with Boot Environments (Was: 10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default) References: <20150208113656.GE3395@lan.sigsys.de> <20150208232623.GA5255@lan.sigsys.de> <54D7F529.4030103@quip.cz> <4483B8DB-D7C6-4337-A264-8125003CB7BD@gromit.dlib.vt.edu> In-Reply-To: <4483B8DB-D7C6-4337-A264-8125003CB7BD@gromit.dlib.vt.edu> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MAXgoPoswROTg5LaWNriioB3kNilukK73" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 07:41:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MAXgoPoswROTg5LaWNriioB3kNilukK73 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/02/2015 23:59, Paul Mather wrote: > See, also, the sysutils/beadm port for how to create and use boot > environments under FreeBSD. beadm is great. I keep meaning to contribute a 'beadm chroot BOOTENV' verb, which would mount the BE, mount a devfs filesystem inside it and chroot to the BE -- and then undo all that once you exit from the BE. Some day... > I don't know if the bsdinstall ZFS partitioning option is compatible > with sysutils/beadm boot environments, but, from what I've seen in > this thread, it looks like it is. I find the bsdinstall layout is /close/ to what I like to use for a setup with Boot Environments, but needs some tweaking. * Use /home as a separate ZFS directly rather than symlinking from /usr/home (It's not clear to me why this isn't the default. Everything treats home directories as '/home/username' and with ZFS there's no need to make .../home a child of /usr because of partitioning or space usage considerations.) * Create an overlay /var (ie. with canmount=3Dno) to act as a mount point for /var/log, /var/tmp, /var/crash *outside* the boot environments. * Ditto with /usr or /usr/local for some special use directory heirarchies under /usr -- eg. /usr/local/pgsql for Postgresql servers. Otherwise the BE consists of all of /, /usr and /var. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --MAXgoPoswROTg5LaWNriioB3kNilukK73 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJU2GSDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATvA4P/iMwzGc50A5crhu9WfHVBMMF PMHqIM4VS4nMOYs8WY0qWXRiIzc2Rc53Tq2wVk6rK2jASdm6/WrLIN/E/ICjILmY +OMaexrYczWd4cTqYIOjrSfN1Fo84dVzq/WzkOmkTusRukRHp5sW7lDpjr6Zavek nosn3QSDrexGQb0tylFkgH1GS78rTv1SvOf7SaXW5HRsMFYEXf1uqxw5nuJqYbkl k1YvPpjYUeBvtqPhBUmzsoq5fzEgGvwj9O+iL8hly2QuJP8bc0eHqH1U01VfEaJG VUgxc3JqgHKTACf1k0NqyvUqApo5jQTlwBv37rIReVq3MLyl1L12vbOokidcaO0A yz/NtYImiwgMP6iYAY5Naom811ODP0z88MfdNRzdB8z0AVRQS0N2WWw8TuUbAaa8 u9WsoAN97iihaiHxP+01bO2YdVuTzMS340LiIeVaz4GwBJkWtJGw5huAGJfQNP7f 0EGPwNyo+OzKyUmzq/iZSyLGAaWugTnMTkvHHv7+/sOKpN29liavLaZHsOAA8pmq 3qGQJMDYLs5s4N5Bh65npHGI/noO4KSrBndy1AUsi15SLEJmp1jKhprNoIL+8+7w YphHTNIgVluwhOExdYDBqaQaqDNMMsYc4Mx35OIeDb6kT/50IR9cw2ODxPXkqn9Z JZbGLbVaVsnY0mYEUBid =FfFz -----END PGP SIGNATURE----- --MAXgoPoswROTg5LaWNriioB3kNilukK73--