ZFS with multiple boot/root pools

Matthew Seaman matthew at FreeBSD.org
Wed May 2 12:43:13 UTC 2012


On 02/05/2012 13:17, Martin Simmons wrote:
> It looks like /usr itself isn't a problem because it is never mounted
> (canmount=off on zroot/ROOT/9.0-RELEASE/usr and zroot/usr), but multiple
> mounts will happen for /usr/src and /usr/obj.  Do you change the mountpoint
> 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-zfs:

  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 export
> 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

-- 
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/20120502/8c8f2f20/signature.pgp


More information about the freebsd-fs mailing list