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

来源:互联网 发布:厦门seo推广 编辑:程序博客网 时间:2024/05/16 11:23

问题出现的原因是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

原创粉丝点击