From owner-freebsd-fs@FreeBSD.ORG Mon Sep 9 03:11:57 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7DF54152; Mon, 9 Sep 2013 03:11:57 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from yoshi.bluerosetech.com (yoshi.bluerosetech.com [IPv6:2607:f2f8:a450::66]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 64B232086; Mon, 9 Sep 2013 03:11:57 +0000 (UTC) Received: from chombo.houseloki.net (unknown [IPv6:2001:558:6025:2d:68f0:67e3:f35d:f840]) by yoshi.bluerosetech.com (Postfix) with ESMTPSA id A9D07E6040; Sun, 8 Sep 2013 20:11:53 -0700 (PDT) Received: from [127.0.0.1] (ivy.houseloki.net [10.9.70.20]) by chombo.houseloki.net (Postfix) with ESMTPSA id 78539256; Sun, 8 Sep 2013 20:11:52 -0700 (PDT) Message-ID: <522D3C76.1030705@bluerosetech.com> Date: Sun, 08 Sep 2013 20:11:50 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-fs@freebsd.org" , freebsd-stable 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 03:11:57 -0000 On 9/8/2013 7:52 PM, J David wrote: > On Sun, Sep 8, 2013 at 10:22 PM, Darren Pilgrim > wrote: >> Did you build and install new boot blocks? > > Yes. > > Oddly, setting: > > zfs set mountpoint=legacy data/root (plus the appropriate fstab entry) You can use zfs.root.mountfrom="zfs:data/root" in /boot/loader.conf instead of an fstab entry. Mountpoint=legacy is required either way. > instead of > > zfs set mountpoint=/ data/root This only applies to Solaris, IIRC. > seems to produce a bootable system, although it absolutely should not > be necessary to do things that way anymore. I ran into that problem as well. The instructions for root-on-zfs for 9.x (at least as of 9.1) are wrong--you need to use the 8.x-style instructions with mountpoint=legacy for / and, for fresh installs, leaving the pool imported and copying over /boot/zfs/zpool.cache.