Hello,
NFS-server failed to start after a reboot of the host.
Description :
After a reboot of the host, NFS-server failed to start.
I'm using ZFS pool and NFS to share dataset on my lan.
Logs :
Workaround:
Restart nfs-server : systemctl restart nfs-server
It looks like NFS-server is trying to start before the import of the zfs pool.
The zfs pool seems not ready and the nfs server failed to start.
Any idea how to fix that ?
Thx
NFS-server failed to start after a reboot of the host.
Description :
After a reboot of the host, NFS-server failed to start.
I'm using ZFS pool and NFS to share dataset on my lan.
Logs :
Code:
nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-08-02 23:46:59 CEST; 1min 43s ago
CPU: 4ms
Aug 02 23:46:59 host systemd[1]: Starting NFS server and services...
Aug 02 23:46:59 host exportfs[2760]: exportfs: Failed to stat /DATA/media/: No such file or directory
Aug 02 23:46:59 host systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE
Aug 02 23:46:59 host systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Aug 02 23:46:59 host systemd[1]: Stopped NFS server and services.
Workaround:
Restart nfs-server : systemctl restart nfs-server
It looks like NFS-server is trying to start before the import of the zfs pool.
The zfs pool seems not ready and the nfs server failed to start.
Any idea how to fix that ?
Thx
Last edited: