Date: Fri, 24 Jul 2009 13:53:20 -0400 From: Graham Todd <gtodd@bellanet.org> To: Emil Mikulic <emikulic@gmail.com> Cc: McLone <mclone@gmail.com>, Thomas Backman <serenity@exscape.org>, FreeBSD current <freebsd-current@freebsd.org> Subject: Re: [bug] ZFS zvol dev entry disappearing upon reboot Message-ID: <4A69F510.8070702@bellanet.org> In-Reply-To: <20090724005912.GB89091@dmr.ath.cx> References: <451cb3010907181027q13d5c345w8962a648c7682ed8@mail.gmail.com> <D1E50130-8D14-4D0A-8593-736C80D0C2C0@exscape.org> <20090724005912.GB89091@dmr.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Emil Mikulic wrote: > On Thu, Jul 23, 2009 at 09:31:19AM +0200, Thomas Backman wrote: >> OK, I've found the problem we have here... Or, rather, I've found the >> *reason* (and this shows why I previously said I couldn't reproduce). I >> haven't found it in source, though. >> >> UFS filesystems in fstab are mounted *before* the /dev/zvol directory is >> populated, at least on my system! > > I remember running into this! I tried to solve it using the "late" > mount flag in fstab but couldn't get it working. > > In the end I just stuck a bunch of manual "mount" commandlines in > /etc/rc.local. What a cop-out. :( Ditto. I ended up using the same approach with a script called from rc.local - "late" didn't work for me because /dev/zvol wasn't there yet. This was in the first release of FreeBSD that included zfs. I believe the rc.local workaround is still in use on the system in question (now running CURRENT).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A69F510.8070702>