From owner-freebsd-fs@FreeBSD.ORG Sun Sep 18 11:49:52 2011 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 711691065670 for ; Sun, 18 Sep 2011 11:49:52 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtp5-g21.free.fr (unknown [IPv6:2a01:e0c:1:1599::14]) by mx1.freebsd.org (Postfix) with ESMTP id E1B788FC0A for ; Sun, 18 Sep 2011 11:49:50 +0000 (UTC) Received: from endor.tataz.chchile.org (unknown [82.233.239.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id B90FCD4812B; Sun, 18 Sep 2011 13:49:44 +0200 (CEST) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id DDACC33CED; Sun, 18 Sep 2011 11:49:42 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id BCF72A1180; Sun, 18 Sep 2011 11:49:42 +0000 (UTC) Date: Sun, 18 Sep 2011 13:49:42 +0200 From: Jeremie Le Hen To: Mathieu Arnold Message-ID: <20110918114942.GC7930@felucia.tataz.chchile.org> References: <20110918092722.GA7930@felucia.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@FreeBSD.org, Jeremie Le Hen Subject: Re: ZFS on root: / is found but child datasets are not mounted X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:49:52 -0000 On Sun, Sep 18, 2011 at 11:40:10AM +0200, Mathieu Arnold wrote: > +--On 18 septembre 2011 11:27:22 +0200 Jeremie Le Hen > wrote: > | The kernel boots fine, it finds the root filesystem, but fails miserably > | when running rc.d scripts because child datasets are not mounted (/var, > | /usr, ...). > | > | obiwan:~# cp /tmp/zpool.cache /mnt/boot/zfs/zpool.cache > | obiwan:~# grep 'zfs[:_]' /mnt/boot/loader.conf > | zfs_load="YES" > | vfs.root.mountfrom="zfs:zroot/root" > > What about zfs_enable="yes" in /etc/rc.conf ? Yeah right, someone already pointed this to me in another thread. For some reason rc.conf(5) on the ZFS disk is not there whereas all other files are there and identical (with the exception of fstab(5) of course). -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne