[bug] ZFS zvol dev entry disappearing upon reboot
gtodd at bellanet.org
Fri Jul 24 18:19:48 UTC 2009
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).
More information about the freebsd-current