mount: mount to NFS server 'servtest' failed: timed out (retrying).

问题出现的原因是nfs server默认的是udp服务,因此在客户端访问nfs server时,防火墙上不仅允许tcp还需要有udp才行。如果防火墙上不能动,也可以在客户端指定协议为tcp,指令如下:

[root@sptest ~]# mount  servtest:/servtest/test /servtest/test
mount: mount to NFS server 'servtest' failed: timed out (retrying).
mount: mount to NFS server 'servtest' failed: timed out (retrying).

[root@sptest ~]# mount -t nfs servtest:/servtest/test /servtest/test -o nolock,proto=tcp,nfsvers=3

你可能感兴趣的:(mount: mount to NFS server 'servtest' failed: timed out (retrying).)