On 25/11/2020 09:40, Ed Greshko wrote:
Can you confirm that the NFS server is on a Centos7 system?
Is NFS-v3 required, or can you switch to NFS-v4?
FWIW, I installed a Centos7 VM. And enabled nfs-server.service. The server has the
following:
[root@cos7 etc]# firewall-cmd --get-active-zones
public
interfaces: eth0
[root@cos7 etc]# firewall-cmd --info-zone=public
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client mountd nfs nfs3 rpc-bind ssh
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
[root@cos7 etc]# cat exports
/home/egreshko 2001:b030:112f:2::0/64(rw,sync,insecure,no_root_squash,no_subtree_check)
/home/egreshko 192.168.0.0/16(rw,sync,insecure,no_root_squash,no_subtree_check)
On an F33 VM I have the following in /etc/fstab
#[2001:b030:112f:2::41]:/home/egreshko /mnt nfs defaults 0 0
[2001:b030:112f:2::41]:/home/egreshko /mnt nfs nfsvers=3,defaults 0 0
And, I am able to mount using either nfs-v3 or nfs-v4
Here is the V3 result
[root@f33k etc]# mount /mnt
[root@f33k etc]# df -T | grep greshko
[2001:b030:112f:2::41]:/home/egreshko nfs 29599744 5193472 24406272 18% /mnt
Here is the V4 result
[root@f33k etc]# mount /mnt
[root@f33k etc]# df -T | grep greshko
[2001:b030:112f:2::41]:/home/egreshko nfs4 29599744 5193472 24406272 18% /mnt
---
The key to getting good answers is to ask good questions.