the way i have worked around this is by just adding a crontab to restart it 60 seconds after the server boots. so far, it has worked (knock on wood)...if i have issues i'll probably just extend the time out a bit, but this works for now.
@reboot /usr/bin/sleep 60 && /usr/bin/systemctl restart...
is there a trick to making this work other than the small dummy disk? i did all of that and i'm still getting the BSOD when i try to boot w/ the drive attached as SCSI...
I'm aware of all of that...but it just doesn't work. it fails on boot every single time.
I tried editing the nfs service to get it to wait for zfs.target. that didn't work either.
the only thing I've been able to get to work is the cron that restarts the nfs-kernel-server service 60 seconds...
it does not appear to be. on boot, i am constantly presented with the nfs-kernel-server in a failed state because it cannot find my zfs mounts.
if i then log in and start it myself, it works fine (because the mounts are now present). the cron i set to run 60 seconds after reboot and then...
i am. that's how i am doing it, and it works fine when the server is up. that isn't the issue. the issue is that even with sharing it that way, it seems the NFS server is trying to share it before ZFS has finished mounting it on a reboot. it fails to start nfs-kernel-server on reboot every...
is there a way to make nfs-kernel-server wait til zfs mount finishes on reboot? every time i reboot the server, i end up with my NFS shares dead until i log in myself and manually start the service, because it's trying to share something that doesn't exist (i can see in the logs that my zpools...
@Stefan_R trying to get this to work, and it does work very well but when i reboot the server (on updates, for example), it seems the nfs-kernel-server is trying to start before ZFS is mounted (and therefore fails). this results in all of my NFS shares being unavailable until i log into the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.