From owner-freebsd-questions@FreeBSD.ORG Fri May 23 21:05:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAAEE1065671 for ; Fri, 23 May 2008 21:05:01 +0000 (UTC) (envelope-from aaron@aaronholmes.net) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id B72098FC0C for ; Fri, 23 May 2008 21:05:01 +0000 (UTC) (envelope-from aaron@aaronholmes.net) Received: by rv-out-0506.google.com with SMTP id b25so1057133rvf.43 for ; Fri, 23 May 2008 14:05:01 -0700 (PDT) Received: by 10.140.136.6 with SMTP id j6mr862775rvd.199.1211576701313; Fri, 23 May 2008 14:05:01 -0700 (PDT) Received: from ?192.168.1.110? ( [71.39.93.58]) by mx.google.com with ESMTPS id b8sm6453594rvf.9.2008.05.23.14.04.58 (version=SSLv3 cipher=RC4-MD5); Fri, 23 May 2008 14:05:00 -0700 (PDT) Message-ID: <48373178.4080909@aaronholmes.net> Date: Fri, 23 May 2008 14:04:56 -0700 From: Aaron Holmes User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Delaying mount of UFS filesystem in ZFS pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 21:05:02 -0000 I have a UFS filesystem inside a zpool: tank on /tank (zfs, local) /dev/zvol/tank/ufs on /mnt/ufs (ufs, local, acls) If I add that entry (/dev/zvol/tank/ufs) to /etc/fstab, it will try to mount as a critical filesystem on boot, however, because ZFS hasn't yet loaded, this fails and causes all sorts of fun for me. Currently I have that filesystem mounting via a cronjob that checks every minute if it's mounted.. definitely not ideal. I need this filesystem in /etc/fstab so I can setup quotas on it (if there is some other way to get quotas working, great, point me to a link or two). So what I'm thinking for a solution is to delay the mount of this filesystem until ZFS has loaded, but I'm not sure of a way to do this with the filesystem in /etc/fstab, and without extensive hacking to one or more rc scripts. Ideas?