Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2008 14:04:56 -0700
From:      Aaron Holmes <aaron@aaronholmes.net>
To:        freebsd-questions@freebsd.org
Subject:   Delaying mount of UFS filesystem in ZFS pool
Message-ID:  <48373178.4080909@aaronholmes.net>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48373178.4080909>