On 2019-12-08 15:19, Ed Greshko wrote:
The command "/usr/sbin/exportfs -r" is still failing.
Building on what others have already said.....
Execute the following commands one by one and then post the results.
mv /etc/exports /etc/exports-HOLD
mkdir -p /nfs4exports/home
touch /nfs4exports/home/a-file
echo "/nfs4exports/home 192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)" > /etc/exports
exportfs -r
.
I'm not certain what to post but:
[root@NFS-Server bobg]# cat /etc/exports
/nfs4exports/home
192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)
[root@NFS-Server bobg]# systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled;
vendor preset: disa>
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: failed (Result: exit-code) since Sun 2019-12-08 13:15:14
EST; 4h 25min ago
Process: 13238 ExecStartPre=/usr/sbin/exportfs -r (code=exited,
status=1/FAILURE)
Process: 13239 ExecStopPost=/usr/sbin/exportfs -au (code=exited,
status=0/SUCCESS)
Process: 13240 ExecStopPost=/usr/sbin/exportfs -f (code=exited,
status=0/SUCCESS)
CPU: 13ms
Dec 08 13:15:14 NFS-Server systemd[1]: Starting NFS server and services...
Dec 08 13:15:14 NFS-Server exportfs[13238]: exportfs: Failed to stat
/nfs4exports/home/bobg>
Dec 08 13:15:14 NFS-Server systemd[1]: nfs-server.service: Control
process exited, code=exi>
Dec 08 13:15:14 NFS-Server systemd[1]: nfs-server.service: Failed with
result 'exit-code'.
Dec 08 13:15:14 NFS-Server systemd[1]: Stopped NFS server and services.
--
Bob Goodwin - Zuni, Virginia,
Fedora Linux-31 XFCE
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx