On 23/02/2021 00:27, Jerome Lille wrote:
On Mon, 2021-02-22 at 08:39 +0800, Ed Greshko wrote:
On 22/02/2021 08:24, Ed Greshko wrote:
have not made any changes to the nfs server configuration file /etc/ nfs.conf so the defaults are in effect.
# vers2=n # vers3=y # vers4=y # vers4.0=y # vers4.1=y # vers4.2=y
Check to make sure these haven't been altered.
FWIW, I did do a test and modified that file to have....
vers4=n vers4.0=n vers4.1=n vers4.2=n
I restarted the nfs server and tried mounting again....
[egreshko@meimei ~]$ sudo mount.nfs4 192.168.122.5:/home/egreshko /mnt mount.nfs4: access denied by server while mounting 192.168.122.5:/home/egreshko
This is really puzzling. I've tried to turn off both Selinux and firewall on both server and client. Didn't make any difference. My nfs.conf is untouched.
You do mean that file on the nfs server side, right?
When I do the following command mount -v server:/path /path
I get the following
I can only get those errors if I disable nfsv4 on the server side.
On the server, what is the output of
systemctl status nfs-server