Linux NFS挂载时失败,报错:mount.nfs: Connection timed out

来源:互联网 发布:中建一局网络大学 编辑:程序博客网 时间:2024/05/09 16:50

今天在转码业务平台挂载中兴分布式存储时,出现了挂载失败:

linux-82ke:~ # mount -t nfs 192.168.202.60:/mnt/zxdfs/CM_South23/root/cccloud_tenant_id10001155 /mnt/D989/60/mnt/wfs10 -vmount.nfs: timeout set for Wed Jul 30 15:39:52 2014mount.nfs: trying text-based options 'vers=4,addr=192.168.202.60,clientaddr=192.168.199.4'mount.nfs: mount(2): No such file or directorymount.nfs: trying text-based options 'addr=192.168.202.60'mount.nfs: prog 100003, trying vers=3, prot=6mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049mount.nfs: prog 100005, trying vers=3, prot=17mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 39325mount.nfs: mount(2): Connection timed outmount.nfs: trying text-based options 'vers=4,addr=192.168.202.60,clientaddr=192.168.199.4'mount.nfs: mount(2): No such file or directorymount.nfs: trying text-based options 'addr=192.168.202.60'mount.nfs: prog 100003, trying vers=3, prot=6mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049mount.nfs: prog 100005, trying vers=3, prot=17mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 32954mount.nfs: mount(2): Connection timed outmount.nfs: trying text-based options 'vers=4,addr=192.168.202.60,clientaddr=192.168.199.4'mount.nfs: mount(2): No such file or directorymount.nfs: trying text-based options 'addr=192.168.202.60'mount.nfs: prog 100003, trying vers=3, prot=6mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049mount.nfs: prog 100005, trying vers=3, prot=17mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 37809mount.nfs: mount(2): Connection timed outmount.nfs: Connection timed out

中兴分布式存储那边的/etc/exports配置为:
/data 192.168.199.*(rw,no_root_squash,sync,no_subtree_check)

但是奇怪的是,如果将/etc/exports修改为:
/data/test 192.168.199.4(rw,no_root_squash,sync,no_subtree_check)

挂载又是成功的。
最后无意间使用了如下配置后,居然正常了:
/data 192.168.199.0/24(rw,no_root_squash,sync,no_subtree_check)

又是一通郁闷……



0 0
原创粉丝点击