Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2016 22:05:48 -0400
From:      Randy Westlund <rwestlun@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Boot environments and zfs canmount=noauto
Message-ID:  <20160728020548.GD26793@gmail.com>

next in thread | raw e-mail | index | archive | help

--bi5JUZtvcfApsciF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm trying to follow Michael Dexter's post about using bhyve with boot
environments.  It involves moving all child datasets under
zroot/ROOT/default, so that you can have entirely independent systems.

http://callfortesting.org/bhyve-boot-environments/

> Let's change the datasets with "canmount on" to "canmount noauto":
> [snip]
> Considering that this setting is harmless to a system with a single
> boot environment, I would not object to it being the default. Hint
> hint.=20

When I set all the datasets with canmount=3Don to canmount=3Dnoauto, only
zroot/ROOT/default gets mounted on next boot.  It's my understanding
that 'zfs mount -a' doesn't mount datasets with canmount=3Dnoauto, but if
I leave them with canmount=3Don, they will try to mount regardless of
which BE is active.

I'm trying this with 11.0-BETA2.  Can sometime tell me what I'm missing?

--bi5JUZtvcfApsciF
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXmWh8AAoJEGaweXjzNsmpWO4H/0M+Rjs5p77M82Vsdq19o0jW
pfG008xB7jHetl/mJv8+FNlksklE/vhlRTJa+HVLtmG6l4sXCf5eTCqKLeXZuLJF
aBmzA18KVHQcEeIgEWyIXWvLuW2ytwA/RrTBa8jbILV/tfJZ9oKjeta0MqOflkzh
ncXnuJwUc1gKafrhgxViYnd8aIrw614mNGGKVBiRNSPtmDkKuodszZtA45M8F2El
46rH84QVAmUrXMx7+T6VV/FAZQdaC9QPP4kp6xWy6z9r3f2ZIsolTA+ZJIlGRrfj
PqfFfWLrKfpywKNdD+cIplFs4P7InbOu1HjuRRob2kZsrfwfdluBsLWynPjuGjE=
=Pnbx
-----END PGP SIGNATURE-----

--bi5JUZtvcfApsciF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160728020548.GD26793>