From owner-freebsd-stable@FreeBSD.ORG Sun Feb 8 23:26:38 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 233AB351 for ; Sun, 8 Feb 2015 23:26:38 +0000 (UTC) Received: from mail.uugrn.org (mail.uugrn.org [IPv6:2a03:2500:1:6:b::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAA2CBF9 for ; Sun, 8 Feb 2015 23:26:37 +0000 (UTC) Received: from rabe.uugrn.org (root@rabe.uugrn.lan [10.253.1.25]) by mail.uugrn.org (8.14.5/8.14.5) with ESMTP id t18NQONK042490 for ; Mon, 9 Feb 2015 00:26:34 +0100 (CET) (envelope-from rabe@uugrn.org) Received: from rabox.fritz.box (rabe@rabe.uugrn.lan [10.253.1.25]) by rabe.uugrn.org (8.14.5/8.14.5) with ESMTP id t18NQOsJ042486 for ; Mon, 9 Feb 2015 00:26:24 +0100 (CET) (envelope-from rabe@uugrn.org) Received: from rabox.fritz.box (localhost [127.0.0.1]) by rabox.fritz.box (8.14.4/8.14.4/Debian-2.1ubuntu2) with ESMTP id t18NQNf8006329 for ; Mon, 9 Feb 2015 00:26:23 +0100 Received: (from rabe@localhost) by rabox.fritz.box (8.14.4/8.14.4/Submit) id t18NQNx4006328 for freebsd-stable@freebsd.org; Mon, 9 Feb 2015 00:26:23 +0100 X-Authentication-Warning: rabox.fritz.box: rabe set sender to rabe@uugrn.org using -f Date: Mon, 9 Feb 2015 00:26:23 +0100 From: Raphael Eiselstein To: freebsd-stable@freebsd.org Subject: FreeBSD ZFS with Boot Environments (Was: 10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default) Message-ID: <20150208232623.GA5255@lan.sigsys.de> References: <20150208113656.GE3395@lan.sigsys.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sun, 08 Feb 2015 23:26:38 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 08, 2015 at 11:54:12PM +0300, Antony Uspensky wrote: > On Sun, 8 Feb 2015, Raphael Eiselstein wrote: > >As I wanted to move zroot/usr/home to zroot/home I noticed that > >everything from /usr and /var is in the "/" mount (zroot/ROOT/default) > >The "mountpoint" property of zroot/var and zroot/usr seems correct but > >in fact it is not mounted there. > This is not a bug and you should not fix it: > this setup uses boot environments and /var and /usr with content This was not obvious (for me). I use ZFS since 8.x with FreeBSD=20 (with manual setup of zroot / gptzfs-bootloader etc) and with Debian=20 wheezy for a while so I'm not "new" to ZFS. Having a BE is cool stuff I guess, but it lacks some documentation (at least in FreeBSD handbook). I found just a side note about "boot environments" in the "FreeBSD handbook": https://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html Is there some "official" documentation about boot environments? Searching the web for 'site:freebsd.org zfs "boot environment"' I found https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/=20 So is this "official" or mainstream or just a experimental hack or a poc? Regards Raphael --=20 Raphael Eiselstein =20 PGP 4E63 5307 6F6A 036D 518D 3C4F 75EE EA14 F625 DB4E =2E........|.........|.........|.........|.........|.........|.........|.. --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJU1/CfAAoJEHXu6hT2JdtOZjcP/1oXnWlgfieYCHm9kt5SIoyC KgPZNBAbp4hTOIhK/vH/i85zTmMPTb+SUEHIyTZx5JZ0S8B2fXMQmEHYaHJ3J/3K ujOWD32gOTpgtkuBEC9rjOXzj4aOlYC0E2/nPS9Fdt1q0yj1ujQN5IhSfzbNcvVH OMntDunCnMqlTInq5l9DTo4aRV4VPVH7qQ6xfDVuz5FaI/xnzsjYy4tc5yBGHuNK m8XLy7CMpiv8u9n1+6UtVvoEkiLLc6sfXt/mIFuVbbfb4TxmVf3o+gXkNQbPtnq4 Gxol7rsLCmnZSxUL0QTs/hxdxLW+/rOxe8srlVl1RL93Ev5dhAgvGuwWISVHpwx4 e83tdnesGWRKM6YP2IwNVLDBWCz8ABqt+2xhWUa0Pnm6aC4f5JeSe1uQDz93uXn2 Gh3loZYenO1TGSv88k35pfoi5eXbnXLOx3AuSZv0Vm8+PznYoIEpOGtPJCoJsUNK 4wzacPbmF10EW1UezpzjziVo2ibMoigwl9KtDVBARusYVK1/VpohVPLj1U7sjgZG xVlmBS8JyXFBtAC+abNks1eTdHleDL7UIdgNIz1JaHk4RJsLOcjWxu6rPo0XlD06 1srZRVIErZIG/S0sVlNFdBtBDA1jFuFaGtn0nQAUjg/K4YLv1dLMRRejSziIJb4y Mdp8m9hBFiMFvuXpzosM =VhrE -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--