From owner-freebsd-rc@FreeBSD.ORG Sun Sep 27 05:13:17 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3CF4106566B for ; Sun, 27 Sep 2009 05:13:16 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id F25BA8FC13 for ; Sun, 27 Sep 2009 05:13:15 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id E298B39825; Sun, 27 Sep 2009 07:13:12 +0200 (SAST) Date: Sun, 27 Sep 2009 07:13:12 +0200 From: John Hay To: Jilles Tjoelker Message-ID: <20090927051312.GA90311@zibbi.meraka.csir.co.za> References: <20090926143736.GA21588@zibbi.meraka.csir.co.za> <20090926213945.GB88702@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090926213945.GB88702@stack.nl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-rc@freebsd.org Subject: Re: zfs boot and fstab chicken and egg problem X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 05:13:17 -0000 On Sat, Sep 26, 2009 at 11:39:45PM +0200, Jilles Tjoelker wrote: > On Sat, Sep 26, 2009 at 04:37:36PM +0200, John Hay wrote: > > I have setup a zfs only system using 2 mirrored disks and gpart, using > > gptzfsboot to boot. That part is working well. The problem comes when > > you need to add things like the linproc filesystem. If you add that to > > fstab, the rc scripts will try to mount that before the zfs filesystems > > and fail because rcorder put mountcritlocal before zfs. > > You can probably work around this using the "late" option in fstab. Ahhh, thanks, once you know what to look for it becomes a lot easier. :-) I only found it mentioned in mount(8). Should it not be mentioned in fstab(5) too? noauto is there. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org