From owner-freebsd-questions@freebsd.org Tue Jan 16 15:57:23 2018 Return-Path: Delivered-To: freebsd-questions@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 24218E77A23 for ; Tue, 16 Jan 2018 15:57:23 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCC24802DB for ; Tue, 16 Jan 2018 15:57:22 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTPS id 324CD273A4; Tue, 16 Jan 2018 16:57:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=markoturk.info; s=s1024; t=1516118240; bh=Rz42yX9PYt++hXWLWQAxfxYrU6jTMA+7KWapAmW/DNw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=FLXwDQxIZGMfbnnU4DrS1BIfgsRYeZYWmL7f6F81nD6wG42s1oAsXeSxwPJlgU632 f7e2wbkFZSpWV1sp2T52ghRNUTjky09I7MrPCkRMTdWXEBK0YCrc+SRCzJxhap9946 PxP32MQr1K+OsF9V+9c+ofqDHx2cJKH/ROyHVMeo= Date: Tue, 16 Jan 2018 16:57:19 +0100 From: Marko Turk To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Dualboot and ZFS Message-ID: <20180116155719.GC21464@vps.markoturk.info> References: <20180115151526.GA66342@admin.sibptus.transneft.ru> <20180116034929.GB89443@admin.sibptus.transneft.ru> <20180116112814.GA18197@admin.sibptus.transneft.ru> <367901b3-a413-01f2-ecaa-479668b4b232@FreeBSD.org> <20180116143559.GA21461@admin.sibptus.transneft.ru> <20180116144458.GB21464@vps.markoturk.info> <20180116155431.GA22546@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline In-Reply-To: <20180116155431.GA22546@admin.sibptus.transneft.ru> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 15:57:23 -0000 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 16, 2018 at 10:54:31PM +0700, Victor Sudakov wrote: > Marko Turk wrote: > > On Tue, Jan 16, 2018 at 09:35:59PM +0700, Victor Sudakov wrote: > > =20 > > > zroot/usr is not below zroot/ROOT/some_test_be, but somehow it's > > > there in the BE. Can you please explain this? > >=20 > > Hi, > >=20 > > that's because zroot/usr is not mounted (check 'zfs get all zroot/usr'). >=20 > Yes, I know it's not mounted (canmount=3Doff), but it's not a child > dataset of zroot/ROOT/some_test_be, and yet it's somehow within > zroot/ROOT/some_test_be when the BE was cloned by beadm. Hi, since zroot/usr is not mounted, path /usr/bin/* in the filesystem belongs to dataset zroot/ROOT/some_test_be so that's why the files are there. E.g.: $ df -h /usr/bin/ Filesystem Size Used Avail Capacity Mounted on zroot/ROOT/default 504G 19G 485G 4% / /Marko --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhcgjUnLArcQCyVEgeDpsXaaozYgFAlpeIN4ACgkQeDpsXaao zYg1NQ/+LIc0qsjUdSbL6ZSUhZ53TvpPfO47SGMOwUlQ212Rlib9UL9LvY0ZYmJU WB/gH9fbxSn8rL+IQP0orALF7Hf2Voa/SEfoXo+hM3CLXFIng2mW1c42jRr6O2Cb rDWqOziPYS7QZTkHmCLFPVQv+YcSdB5iB+9fhRUEgvsaUCTkCCVqpUKk5TVhSAq5 H/ELOr6vplnuufZZP4NWvFSYyHyTkUwjkjZNb5W3s2RuRHBik0QiiKBppiynzhPJ X4uy4HxriK2mpCNudddGfIapaEJKX9SUOF6XAFHnaJYmqXyKwg2wr23nufV9p5Xj 71x4Uqt8PLTbxwFRy6cqjOF+YGpTEXVMwL5itqWMUwBjSVRULcKasJKJM8FKJXPn sJ451//TpOWFQxc3Z3+J9CbVS1/FGqACPpo8pgWkxtNZ+FyxuHkgD9UNipTiWtjf poam5oB4rPwHC84+P5eiHgP2wqVAYoqiWGK00IQYqIbpfGPHHfT0W6cgq9Y9wWPX qBKvnEQYW/eAY9cvqM8IEGZviuKTpXJk9PmLV8XBmCCGZgtocg46XhunwB0vjuYC iaMmqV/K8KnARDEhgzOHfSklhXdeF6i1I+ZMozOyAV+KIX8GUpXvFPzAE8OQL/DJ B7NQ9hfeRVtYr1/G3hOXBjoGuQRpZLozFxis62p4N5eN+R/MzLk= =fRll -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4--