From owner-freebsd-current@freebsd.org Thu Jul 28 02:05:52 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4B4ABA5BA6 for ; Thu, 28 Jul 2016 02:05:52 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F1D01655 for ; Thu, 28 Jul 2016 02:05:52 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by mail-qt0-x22e.google.com with SMTP id 52so40737960qtq.3 for ; Wed, 27 Jul 2016 19:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=3Yr6iXNdZU+EhZmO+ePAWvO4Gql99AydGFydPLyKHQI=; b=0HOIB4MA3RJBcn2cxAv7Qmv81Nb7KVQu8o1SeYP6fYmhNEgdu12Sg0e5s/wDtg11WT 6PS9QxyHkTcqAvdaxkA656WhNaXuraE9MBrDnap7Z81EulGxdqdrWwNoKoJ6xAZCe0Mz 7mXVDN5AKgusMyqezKYidieOxhHPbirHZXZUu0PB7SPUfJzYPeAe56Qh6bc8fmWtspyQ 9MT2cZ+BV71V1aRSOVFKjh/FesckoD9grY61mKbUq9NHaCOTmB+WHd5VQ6z/dMmdYKxc NjZ5ng8RyGJE68/TNLYe9iSYLa76CBoDG60LIwO7x+gjZrM7wH9tprQKtTFTtZ8dYz3V r9QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=3Yr6iXNdZU+EhZmO+ePAWvO4Gql99AydGFydPLyKHQI=; b=R9WecL3BvlNRCpfmkU1Zwl9+CX9ijVLfBFotvZPhmbIw/H8Qn3gJOlS2quI4O7WN6Q gMqZ7XpX2ec5TxPgnwEEFbjlUpDuxoLlp4GUKhIZ2g82y9GBxTkfeS/24GNcsPw7n6r4 25Bim/cnVO29Wk78Y8OqmbwJymHB/7/eXlSvUIGylLAGCMGwUQtL29/VyZz+YZFLL57p 9DaRK/FHQhIhZgHpHtYQK92KHDXHEXeBRGxFoqQNujSyhqXQiv+Lua0hzijixNYaTwEh mD2Abf2y5lHFSGr3N35gerLo78ccSZqshmeXLo3CPxbijlMrOF7O/TdsFydURX1TBjjb 7Osg== X-Gm-Message-State: AEkooutVbK4uMRGWitT0AysQC32QVGTmYhoOjKKYlWZjQ+pIXYq/j2a1NPC5vZWgKQ6pGw== X-Received: by 10.200.45.108 with SMTP id o41mr52597534qta.100.1469671551314; Wed, 27 Jul 2016 19:05:51 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id u23sm5966326qte.30.2016.07.27.19.05.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 19:05:50 -0700 (PDT) Date: Wed, 27 Jul 2016 22:05:48 -0400 From: Randy Westlund To: freebsd-current@freebsd.org Subject: Boot environments and zfs canmount=noauto Message-ID: <20160728020548.GD26793@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bi5JUZtvcfApsciF" Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 02:05:52 -0000 --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--