From owner-freebsd-fs@FreeBSD.ORG Wed May 27 10:03:49 2009 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 756121065676 for ; Wed, 27 May 2009 10:03:49 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206192061.chello.pl [87.206.192.61]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1AE8FC36 for ; Wed, 27 May 2009 10:03:48 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D5C2945E13; Wed, 27 May 2009 12:03:46 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 034F645CDD; Wed, 27 May 2009 12:03:42 +0200 (CEST) Date: Wed, 27 May 2009 12:03:44 +0200 From: Pawel Jakub Dawidek To: Vlad GALU Message-ID: <20090527100344.GC1510@garage.freebsd.pl> References: <20090527092520.GB1510@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Mounting ZVOLs automatically at boot time 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, 27 May 2009 10:03:49 -0000 --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 27, 2009 at 12:55:37PM +0300, Vlad GALU wrote: > On Wed, May 27, 2009 at 12:29 PM, Vlad GALU wrote: > > On Wed, May 27, 2009 at 12:25 PM, Pawel Jakub Dawidek = wrote: > >> On Wed, May 27, 2009 at 10:02:43AM +0300, Vlad GALU wrote: > >>> Hello, is there a way to do $subj? rc.d/zfs only takes care of > >>> regular, ZFS, volumes. I have a ZVOL holding an UFS2 fs inside my ~, > >>> which I need for extattrs, I'd also like to have it mounted > >>> automatically at boot time. > >> > >> ZFS can only make ZVOLs visible automatically (by running zfs volinit) > >> and it does that. If you have a file system in there you need to add it > >> to /etc/fstab. > >> > > > > Hi Pawel, > > Well, =A0I did so, but at the time fstab is parsed the rc.d/zfs script > > hasn't issued "zfs volinit" yet, so mounting fails. I had to mark it > > as noauto and mount it by hand, later on. > > >=20 > Hm, I've rebooted to test this and still doesn't work, there's no > /dev/zvol/ at that time. Can you try if adding 'late' to mount options in /etc/fstab will make it work? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKHRAAForvXbEpPzQRArY7AJ4oW3TzxSKWWVcuIwTmJ6ByrfAVIACZAW+D 5aJYKTk0cLxfHEVsbP35Ylo= =7bYm -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--