From owner-freebsd-stable@FreeBSD.ORG Sun Jun 1 12:37:50 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 F1331106566B; Sun, 1 Jun 2008 12:37:49 +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 843C88FC19; Sun, 1 Jun 2008 12:37:49 +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 m51Cbn4p020551; Sun, 1 Jun 2008 09:37:49 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org, freebsd-bugs@freebsd.org, freebsd-rc@freebsd.org Date: Sun, 1 Jun 2008 09:41:09 -0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_ljpQIYbqfhWA8+B" Message-Id: <200806010941.09448.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 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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:37:50 -0000 --Boundary-00=_ljpQIYbqfhWA8+B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi when you need /usr/compat on your sistem (linuxfs) and you have /usr on zfs= =20 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=20 actual zfs_swap behaviour and configuration a little bit more=20 [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 long= as=20 zfs started by this script =2D-=20 Jo=E3o --Boundary-00=_ljpQIYbqfhWA8+B-- A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br