From owner-freebsd-stable@FreeBSD.ORG Sun Feb 8 21:03:00 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67C45DDA for ; Sun, 8 Feb 2015 21:03:00 +0000 (UTC) Received: from x-art.ru (charibdis.x-art.ru [80.70.228.55]) by mx1.freebsd.org (Postfix) with ESMTP id 130CEB22 for ; Sun, 8 Feb 2015 21:02:59 +0000 (UTC) Received: from gw-old.x-art.ru (gw-old.x-art.ru [192.168.172.252]) by mta.x-art.ru (Postfix) with ESMTP id E92BA1BF237; Sun, 8 Feb 2015 23:54:13 +0300 (MSK) Date: Sun, 8 Feb 2015 23:54:12 +0300 (MSK) From: Antony Uspensky X-X-Sender: aiu@gw-old.x-art.ru To: freebsd-stable@freebsd.org Subject: Re: 10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default In-Reply-To: <20150208113656.GE3395@lan.sigsys.de> Message-ID: References: <20150208113656.GE3395@lan.sigsys.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Raphael Eiselstein X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 21:03:00 -0000 On Sun, 8 Feb 2015, Raphael Eiselstein wrote: > Hi everyone, > > I recently installed a fresh 10.1-RELEASE (amd64) using bsdinstalls > zfs-setup on two mirrored disks. > > As I wanted to move zroot/usr/home to zroot/home I noticed that > everything from /usr and /var is in the "/" mount (zroot/ROOT/default) > > The "mountpoint" property of zroot/var and zroot/usr seems correct but > in fact it is not mounted there. > > See http://sigsys.de/files/freebsd_101_zfs_root_fail_screenshot.jpg > (sorry, had no networking at this moment, so just a regular screenshot) > > Is this a known bug? > How can this be circumvented? > How can I "fix" this? This is not a bug and you should not fix it: this setup uses boot environments and /var and /usr with content belongs to particular BE. If/when you will fork BE with, say, CURRENT, it will need different files, hierarchies and filesets in /usr and /var. On the other hand, /home, /var/log, /tmp, /var/tmp et cetera live outside of any BE. Good news: booting into single user you may use vi or mc :) A.