From owner-freebsd-fs@FreeBSD.ORG Wed Feb 8 18:06:03 2012 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 22F9A1065676 for ; Wed, 8 Feb 2012 18:06:03 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id CDCFA8FC19 for ; Wed, 8 Feb 2012 18:06:02 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 264F0418; Wed, 8 Feb 2012 19:06:01 +0100 (CET) Date: Wed, 8 Feb 2012 19:04:47 +0100 From: Pawel Jakub Dawidek To: Steven Hartland Message-ID: <20120208180446.GA1336@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@FreeBSD.ORG Subject: Re: zfs fs dependencies causing boot failure 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: Wed, 08 Feb 2012 18:06:03 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 08, 2012 at 09:56:57AM -0000, Steven Hartland wrote: > Is there any current way to ensure that zfs mounts are processed > before entries in fstab? >=20 > In our case here we have some legacy ufs fs hosted on zvol's which > are mounted to points within the standard zfs fs e.g. > /dev/zvol/tank/data/legacy /data/jails/legacy ufs rw 2 2 >=20 > To our horror this currently prevents the machine from booting so > would be good if there was some way to prevent this? >=20 > Looking around there seems to have been something similar developed > /etc/rc.d/zvol but this only deals with swap it seems. Try adding 'late' keyword to the options field for you UFS file system in /etc/fstab. Such file system should be mounted by rc.d/mountlate scripts which comes after rc.d/zfs. For example: /dev/zvol/tank/data/legacy /data/jails/legacy ufs rw,late 2 2 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk8yuT4ACgkQForvXbEpPzTmDQCgvtNDMqf5/Yer/0tbk9X9Lw3v +PwAmwYLWhse8fIezbsq4+gojv5Op/7p =DZ3e -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--