From owner-freebsd-stable@FreeBSD.ORG Sun Jun 1 12:52:41 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB91E106564A; Sun, 1 Jun 2008 12:52:41 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 580BD8FC19; Sun, 1 Jun 2008 12:52:41 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id m51CqfTQ022078; Sun, 1 Jun 2008 09:52:41 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Sun, 1 Jun 2008 09:56:01 -0300 User-Agent: KMail/1.9.7 References: <200806010941.09448.joao@matik.com.br> In-Reply-To: <200806010941.09448.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200806010956.02162.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-bugs@freebsd.org, freebsd-rc@freebsd.org Subject: Re: zfs start failure when /usr is on zfs (and rcorder change suggestion) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 12:52:41 -0000 On Sunday 01 June 2008 09:41:09 JoaoBR wrote: > Hi > > when you need /usr/compat on your sistem (linuxfs) and you have /usr on z= fs > boot fails because mountcritlocal does not find /usr/compat > > so I changed the rcorder as you can see in the attached files > > also I changed /etc/rc.d/zfs and added /etc/rc.d/zfs_swap in order to make > the actual zfs_swap behaviour and configuration a little bit more > [user]understandable and easier and working > > this needs two more rc vars as > > zfs_swap_enable=3D"YES|NO" > zfs_swap_vols=3D"spaced vol_list" > > using this rc files zfs, swap on zfs and other fs mount fine > > the changed /etc/rc.d/zfs prevents losing zpools (and later import) as lo= ng > as zfs started by this script seems the attached files were cut, you can get them here: http://suporte.matik.com.br/jm/zfs.rcfiles.tar.gz =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br