Upgrade from Core to Scale (two systems)

tarsosis

Cadet
Joined
Sep 28, 2022
Messages
2
I upgraded from TrueNas Core 12.5 to TrueNas Scale on two different systems months ago.
Everything works fine except NFS no longer starts auto or manually. Digging through various
threads it looks like /usr/sbin/exportfs is the issue. However, I have not seen a way to resolve
the issue. I'm been using SMB for sharing but I would like to switch back to NFS.


nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2022-09-28 20:37:07 EDT; 33s ago
Process: 523905 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
Process: 523907 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 523908 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)

Sep 28 20:37:07 Boba systemd[1]: Starting NFS server and services...
Sep 28 20:37:07 Boba exportfs[523905]: exportfs: can't open /etc/exports for reading
Sep 28 20:37:07 Boba systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 20:37:07 Boba systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Sep 28 20:37:07 Boba systemd[1]: Stopped NFS server and services.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
This means that we're not generating exports file (possibly due to invalid config / missing user or group). What is output of midclt call sharing.nfs.query | jq
 
Top