From owner-freebsd-fs@FreeBSD.ORG Sun Sep 18 12:28:06 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 5AF4C106564A for ; Sun, 18 Sep 2011 12:28:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id C23E48FC08 for ; Sun, 18 Sep 2011 12:28:05 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta13.westchester.pa.mail.comcast.net with comcast id aBQ31h0021c6gX85DCU6CQ; Sun, 18 Sep 2011 12:28:06 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta23.westchester.pa.mail.comcast.net with comcast id aCU41h00L1t3BNj3jCU4DL; Sun, 18 Sep 2011 12:28:05 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id B84CA102C1B; Sun, 18 Sep 2011 05:28:02 -0700 (PDT) Date: Sun, 18 Sep 2011 05:28:02 -0700 From: Jeremy Chadwick To: Jeremie Le Hen Message-ID: <20110918122802.GA38941@icarus.home.lan> References: <20110918092722.GA7930@felucia.tataz.chchile.org> <20110918114942.GC7930@felucia.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110918114942.GC7930@felucia.tataz.chchile.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@FreeBSD.org, Mathieu Arnold 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 12:28:06 -0000 On Sun, Sep 18, 2011 at 01:49:42PM +0200, Jeremie Le Hen wrote: > 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). If this is a "brand new install" then I imagine it's possible for rc.conf not to exist unless you chose during sysinstall to configure the network (which would include setting hostname="xxx", etc.) or adjust post-installation options (sshd_enable="YES", etc.). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |