Re: [bug] ZFS zvol dev entry disappearing upon reboot

From: Graham Todd <gtodd_at_bellanet.org>
Date: Fri, 24 Jul 2009 13:53:20 -0400
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).
Received on Fri Jul 24 2009 - 16:19:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC