[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968251: nfs-kernel-server fails to start at boot



I have the same problem on Raspberry Pi OS 64-bit, which is just the arm64 Debian port with an external repo for the custom kernel and not much more.

The NFS server fails on boot, but can be manually started, if a directory from an external drive is exported. I tried exporting a directory from my home (which is on the SD card) and it exports correctly on boot. Might be the NFS server trying to export a directory before the drive is mounted.

Relevant journal output:

$ journalctl -u nfs-server.service 

-- Logs begin at Wed 2020-08-26 15:32:48 CEST, end at Wed 2020-08-26 15:43:50 CEST. --

ago 26 15:32:49 raspi systemd[1]: Starting NFS server and services...

ago 26 15:32:49 raspi exportfs[741]: exportfs: Failed to stat /media/hdd/nfs: No such file or directory

ago 26 15:32:49 raspi systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE

ago 26 15:32:49 raspi systemd[1]: nfs-server.service: Failed with result 'exit-code'.

ago 26 15:32:49 raspi systemd[1]: Stopped NFS server and services.



Reply to: