Hi all
Just migrated a VM from CORE to SCALE by rebuilding it.
Everything worked nice except the NFS service which is not starting at first boot.
It complains about not finding /etc/exports file (despite the fact I have configured some shares in the GUI) which seems to be generated by the middlewared service. I guess the nfs server service is started before the middlewared one. If I restart the NFS service manually through SSH it works (the /etc/exports file is then present).
Here is the log of the nfs server:
Just migrated a VM from CORE to SCALE by rebuilding it.
Everything worked nice except the NFS service which is not starting at first boot.
It complains about not finding /etc/exports file (despite the fact I have configured some shares in the GUI) which seems to be generated by the middlewared service. I guess the nfs server service is started before the middlewared one. If I restart the NFS service manually through SSH it works (the /etc/exports file is then present).
Here is the log of the nfs server:
Code:
● nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2022-03-04 23:37:38 CET; 14s ago Mar 04 23:37:38 <REDACTED> systemd[1]: Starting NFS server and services... Mar 04 23:37:38 <REDACTED> exportfs[3754]: exportfs: can't open /etc/exports for reading Mar 04 23:37:38 <REDACTED> systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE Mar 04 23:37:38 <REDACTED> systemd[1]: nfs-server.service: Failed with result 'exit-code'. Mar 04 23:37:38 <REDACTED> systemd[1]: Stopped NFS server and services.