From owner-freebsd-fs@FreeBSD.ORG Mon Sep 9 23:11:11 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0297811F; Mon, 9 Sep 2013 23:11:11 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE862A9C; Mon, 9 Sep 2013 23:11:10 +0000 (UTC) Received: from ppp118-210-73-223.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.73.223]) by ipmail06.adl2.internode.on.net with ESMTP; 10 Sep 2013 08:40:57 +0930 Message-ID: <522E557E.5050202@ShaneWare.Biz> Date: Tue, 10 Sep 2013 08:40:54 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: J David Subject: Re: zfs_enable vs zfs_load in loader.conf (but neither works) References: <522D30C9.8000203@bluerosetech.com> <522D3C76.1030705@bluerosetech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-fs@freebsd.org" , freebsd-stable , Darren Pilgrim X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 23:11:11 -0000 On 09/09/2013 21:20, J David wrote: > On Sun, Sep 8, 2013 at 11:11 PM, Darren Pilgrim > wrote: >> You can use zfs.root.mountfrom="zfs:data/root" in /boot/loader.conf >> instead of an fstab entry. > > That has been in loader.conf the whole time. > >> Mountpoint=legacy is required either way. > > It isn't. There is another machine right next to it running 9.2-RC1 > and it works fine with the mountpoint=/ setting and an empty fstab. > I installed 9.0 onto my machine booting from zfs about a year and a half ago and remember having issues getting it bootable. As I recall mounpoint=legacy and mountpoint=/ effectively point to two different filesystems. Changing the mounpoint after installing hides the / filesystem. So it isn't so much which mountpoint to use but which mountpoint *was* used when you installed the system.