From owner-freebsd-fs@FreeBSD.ORG Fri Mar 23 11:49:55 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 A34C0106566C for ; Fri, 23 Mar 2012 11:49:55 +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 108C48FC08 for ; Fri, 23 Mar 2012 11:49:54 +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 q2NBnja4006567 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 23 Mar 2012 11:49:46 GMT (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.0 smtp.infracaninophile.co.uk q2NBnja4006567 Authentication-Results: smtp.infracaninophile.co.uk/q2NBnja4006567; dkim=none (no signature); dkim-adsp=none Message-ID: <4F6C6352.9090906@FreeBSD.org> Date: Fri, 23 Mar 2012 11:49:38 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120313 Thunderbird/11.0 MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCDFA7CFE59B3A81E43B70DA7" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 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: Subject: Overriding the zpool bootfs property from the loader? 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: Fri, 23 Mar 2012 11:49:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCDFA7CFE59B3A81E43B70DA7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all, I've been playing around with using ZFS boot environments recently, and been pretty pleased with the concept in general. One thing I'd love to be able to do, but which I can't find any description of for FreeBSD, is to be able to override the bootfs property of the root zpool at an early stage in the boot process -- eg. by escaping to the loader prompt. This would facilitate easily switching between different boot environments, and be particularly useful if the default boot environment had somehow been rendered unbootab= le. Apparently this sort of functionality is possible in Solaris, by using 'boot -Z' or 'boot -L' from the 'ok' prompt: http://docs.oracle.com/cd/E19082-01/817-2271/ggpco/index.html Any clues on whether the equivalent is possible in FreeBSD and if so how would be gratefully received. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigCDFA7CFE59B3A81E43B70DA7 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/ iEYEARECAAYFAk9sY1kACgkQ8Mjk52CukIz5nwCfdFieVs4/bWa//I830sIWfR4t im8AnjNetsztzZgBWMlNpRk3M25SiypH =gVob -----END PGP SIGNATURE----- --------------enigCDFA7CFE59B3A81E43B70DA7--