From owner-freebsd-fs@FreeBSD.ORG Wed May 27 09:55:58 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 D175B106566C; Wed, 27 May 2009 09:55:58 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 450788FC15; Wed, 27 May 2009 09:55:57 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fxm12 with SMTP id 12so4581361fxm.43 for ; Wed, 27 May 2009 02:55:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.114.74 with SMTP id d10mr5064827faq.87.1243418157101; Wed, 27 May 2009 02:55:57 -0700 (PDT) In-Reply-To: References: <20090527092520.GB1510@garage.freebsd.pl> From: Vlad GALU Date: Wed, 27 May 2009 12:55:37 +0300 Message-ID: To: Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 09:55:59 -0000 On Wed, May 27, 2009 at 12:29 PM, Vlad GALU wrote: > On Wed, May 27, 2009 at 12:25 PM, Pawel Jakub Dawidek w= rote: >> 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. > Hm, I've rebooted to test this and still doesn't work, there's no /dev/zvol/ at that time.