On 11/25/20 5:23 AM, Ed Greshko wrote:
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
I can mount fine. The problem is that various programs (LyX, LibreOffice) freeze when attempting to open files on those filesystems. In LyX, I was able to trace the problem to a call to lockd, which never returns. So it seems there is some problem with file locking, which it was suggested involved some firewall problem. Which it does, since disabling the firewall on the server solves the problem. (There's no firewall on the client.)
Riki