From owner-freebsd-fs@FreeBSD.ORG Wed May 2 12:43:12 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4B03106566B for ; Wed, 2 May 2012 12:43:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE158FC0C for ; Wed, 2 May 2012 12:43:12 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q42Ch8FR011361 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 2 May 2012 13:43:08 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q42Ch8FR011361 Authentication-Results: smtp.infracaninophile.co.uk/q42Ch8FR011361; dkim=none (no signature); dkim-adsp=none Message-ID: <4FA12BD4.8080804@FreeBSD.org> Date: Wed, 02 May 2012 13:43:00 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120420 Thunderbird/12.0 MIME-Version: 1.0 To: Martin Simmons References: <20120430210711.GA50280@server.vk2pj.dyndns.org> <4F9F8888.3030104@FreeBSD.org> <20120502052811.GA71211@server.vk2pj.dyndns.org> <4FA0E73E.3030301@FreeBSD.org> <201205021217.q42CHaPl005064@higson.cam.lispworks.com> In-Reply-To: <201205021217.q42CHaPl005064@higson.cam.lispworks.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig53FEAF80B5D4271C0F3434C7" X-Virus-Scanned: clamav-milter 0.97.4 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 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS with multiple boot/root pools X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 12:43:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig53FEAF80B5D4271C0F3434C7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/05/2012 13:17, Martin Simmons wrote: > It looks like /usr itself isn't a problem because it is never mounted > (canmount=3Doff on zroot/ROOT/9.0-RELEASE/usr and zroot/usr), but multi= ple > mounts will happen for /usr/src and /usr/obj. Do you change the mountp= oint > property of zroot/ROOT/*/usr on the inactive BE's to avoid that? Yes, exactly. It's all described in the companion piece to install-on-zf= s: http://www.infracaninophile.co.uk/articles/zfs-update-management/ However, that page is in need of an update: I modified the manageBE script to automate a lot of the actions described there, and I've been intending to look at Bryan Drewery's beadm program as well. > BTW, there is a minor bug in the article (on 8.3 at least): "zpool expo= rt > zroot" fails to unmount everything because the cwd is in /tmp/zroot/etc= at > that point. Adding "cd /" beforehand fixes it. Hmmm.... yes. Fixed, thank you. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig53FEAF80B5D4271C0F3434C7 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.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+hK9wACgkQ8Mjk52CukIxNuQCdFDYVWL7Bl6AQ0ShpZ7FD7OqJ 9M8AnRsaF4m2f6Et818ae6WcMmsuFHlm =w5kI -----END PGP SIGNATURE----- --------------enig53FEAF80B5D4271C0F3434C7--