On Mon, Jul 3, 2017 at 8:19 AM, Amadeus W.M. <amadeus84@xxxxxxxxxxx> wrote: > > Thank you Tom and Ed for taking the time to help. My F25 was upgraded > from F24, where nfs was working perfectly (as well as in all versions > before that). Here is my configuration: You're welcome. All your config looks OK so I set up a clean VM rather than change my own setups. Enabling nfs after first boot works perfectly. Switching rpc.nfsd to use udp fails (I suspect that it's because nfsv4 requires tcp so you can only specify "--udp" if you disable nfsv4): [root@localhost ~]# systemctl status nfs-server.service ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: active (exited) since Mon 2017-07-03 14:03:27 EDT; 25s ago Process: 881 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS) Process: 880 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Main PID: 881 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 4915) CGroup: /system.slice/nfs-server.service Jul 03 14:03:27 localhost.localdomain systemd[1]: Starting NFS server and services... Jul 03 14:03:27 localhost.localdomain systemd[1]: Started NFS server and services. [root@localhost ~]# exportfs /export/nfs <world> [root@localhost ~]# cat /etc/sysconfig/nfs #RPCNFSDARGS="--udp" [root@localhost ~]# vi /etc/sysconfig/nfs [root@localhost ~]# cat /etc/sysconfig/nfs RPCNFSDARGS="--udp" [root@localhost ~]# systemctl restart nfs-server.service Job for nfs-server.service canceled. [root@localhost ~]# systemctl status nfs-server.service ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: failed (Result: exit-code) since Mon 2017-07-03 14:04:48 EDT; 6s ago Process: 1005 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS) Process: 1004 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS) Process: 993 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS) Process: 1003 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=2) Process: 1002 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Main PID: 1003 (code=exited, status=2) Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: Invalid argument: '?' Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: Usage: Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: rpc.nfsd [-d|--debug] [-H hostname] [-p|-P|--port port] Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: [-N|--no-nfs-version version] [-V|--nfs-version version] Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: [-s|--syslog] [-t|--tcp] [-T|--no-tcp] [-u|--udp] [-U|--no-udp] Jul 03 14:04:48 localhost.localdomain rpc.nfsd[1003]: [-r|--rdma=] [-G|--grace-time secs] [-L|--leasetime secs] nrservs Jul 03 14:04:48 localhost.localdomain systemd[1]: nfs-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jul 03 14:04:48 localhost.localdomain systemd[1]: Stopped NFS server and services. Jul 03 14:04:48 localhost.localdomain systemd[1]: nfs-server.service: Unit entered failed state. Jul 03 14:04:48 localhost.localdomain systemd[1]: nfs-server.service: Failed with result 'exit-code'. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx