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 haven't been mounted yet when NFS is trying to share them).
i've tried everything i can think of: editing the service files trying to wait for zfs.target, using RequiresMountsFor=, nothing has worked. even tried running a @reboot cron to start it after 60 seconds...no dice. how can i get this to work so that i don't need to log in manually every time i reboot the server (which isn't feasible since i usually schedule reboots for overnight)?
i've tried everything i can think of: editing the service files trying to wait for zfs.target, using RequiresMountsFor=, nothing has worked. even tried running a @reboot cron to start it after 60 seconds...no dice. how can i get this to work so that i don't need to log in manually every time i reboot the server (which isn't feasible since i usually schedule reboots for overnight)?