Overriding the zpool bootfs property from the loader?

Matthew Seaman matthew at FreeBSD.org
Fri Mar 23 11:49:55 UTC 2012


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 unbootable.

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

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120323/0befcbfb/signature.pgp


More information about the freebsd-fs mailing list