PVE 7.4-16 : nfs-server failed to start after a reboot of the host

lxiosjao

Member
Mar 21, 2021
64
1
13
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 :
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!