Linux NFS掛載時失敗,報錯:mount.nfs: Connection timed out

來源:互聯網
上載者:User

Linux NFS掛載時失敗,報錯:mount.nfs: Connection timed out

今天在轉碼業務平台掛載中興分布式儲存時,出現了掛載失敗:

linux-82ke:~ # mount -t nfs 192.168.202.60:/mnt/zxdfs/CM_South23/root/cccloud_tenant_id10001155 /mnt/D989/60/mnt/wfs10 -v
mount.nfs: timeout set for Wed Jul 30 15:39:52 2014
mount.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 directory
mount.nfs: trying text-based options 'addr=192.168.202.60'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 39325
mount.nfs: mount(2): Connection timed out
mount.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 directory
mount.nfs: trying text-based options 'addr=192.168.202.60'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 32954
mount.nfs: mount(2): Connection timed out
mount.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 directory
mount.nfs: trying text-based options 'addr=192.168.202.60'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.202.60 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.202.60 prog 100005 vers 3 prot UDP port 37809
mount.nfs: mount(2): Connection timed out
mount.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)

--------------------------------------分割線 --------------------------------------

Ubuntu 12.04安裝NFS server

NFS伺服器安裝配置實現Ubuntu 12.04與ARM檔案分享權限設定

Ubuntu搭建nfs伺服器

檔案伺服器NFS配置詳解

Ubuntu下搭建NFS網路檔案系統伺服器

Heartbeat_ldirector+LB+NFS實現HA及LB、檔案分享權限設定

CentOS 5.5配置NFS伺服器教程

Ubuntu 12.10下NFS的安裝使用

--------------------------------------分割線 --------------------------------------

本文永久更新連結地址:

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.