ECS:NFS 掛載失敗;UI 匯出設定需要一段時間才能傳播
Summary: 在雲端伺服器中,NFS 快取需要 ~20 分鐘的時間才能在 ECS 裝置的 dataheadsvc 服務中傳播和重新整理 NFS 快取。在設定新的 NFS 匯出期間經常發生此問題,因為需要進行一些變更才能解析匯出自訂。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
在雲端伺服器中,NFS 快取需要 ~20 分鐘的時間才能在 ECS 裝置的 dataheadsvc 服務中傳播和重新整理 NFS 快取。在設定新的 NFS 匯出期間經常發生此問題,因為需要進行一些變更才能解析匯出自訂。
當現有的 NFS 匯出已修改,且匯出在 ECS 上顯示為作用中時,ECS 上會出現此行為。
# 顯示掛載 -e <彈性雲端伺服器>的 IP 位址範例:
# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp <ECS IP>:<匯出路徑<>本機掛載點>
範例:
# svc_log -i -f nfs -sr all -sn -sf -n all -start '5 分鐘前'
例:
# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp <ECS IP>:<匯出路徑<>本機掛載點>
範例:
當現有的 NFS 匯出已修改,且匯出在 ECS 上顯示為作用中時,ECS 上會出現此行為。
- 若要驗證,請讓此問題檢查 ECS 上是否存在的匯出:
# 顯示掛載 -e <彈性雲端伺服器>的 IP 位址範例:
[root@nfsclient ~]# showmount -e xxx.xxx.xxx Export list for xxx.xxx.xxx.xxx: /namespace/nfsbucket *
- 嘗試掛接已在 ECS 上驗證的匯出:
# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp <ECS IP>:<匯出路徑<>本機掛載點>
範例:
[root@ nfsclient ~]# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp xxx.xxx.xxx.xxx:/namespace/nfsbucket /mnt/test mount.nfs: timeout set for Wed Aug 14 09:37:03 2019 mount.nfs: trying text-based options 'vers=3,nolock,sec=sys,proto=tcp,addr= xxx.xxx.xxx.xxx ' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying xxx.xxx.xxx.xxx prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=6 mount.nfs: trying xxx.xxx.xxx.xxx prog 100005 vers 3 prot TCP port 2049 mount.nfs: mount(2): No such file or directory mount.nfs: mounting xxx.xxx.xxx.xxx:/namespace/nfsbucket failed, reason given by server: No such file or directory
- 在 ECS 上驗證找不到匯出:
# svc_log -i -f nfs -sr all -sn -sf -n all -start '5 分鐘前'
例:
admin@ecsnode1:~> svc_log -i -f nfs -sr all -sn -sf -n all -start '5 minutes ago' svc_log v0.9.19 (svc_tools v1.1.1) Started 2019-08-14 15:35:57 Running on nodes: <All nodes> Time range: 2019-08-14 15:30:57 - 2019-08-14 15:35:57 Filter string(s): 'nfs' Show filename(s): True Show nodename(s): True Search reclaim logs (if any): False Case insensitive: True 169.254.1.1 dataheadsvc.log 2019-08-14T15:35:05,953 [RpcDispatcherMD-3082827] INFO RpcProgramMountd.java (line 101) MOUNT MNT path: /namespace/nfsbucket Client: /xxx.xxx.xxx 169.254.1.1 dataheadsvc.log 2019-08-14T15:35:05,958 [RpcDispatcherMD-3082827] INFO ExportsService.java (line 98) added key /namespace/nfsbucket/ to the cache 169.254.1.1 dataheadsvc.log 2019-08-14T15:35:05,960 [RpcDispatcherMD-3082827] ERROR RpcProgramMountd.java (line 111) Couldn't locate the exportEntry for the path /namespace/nfsbucket
- 等待 ~20 分鐘,讓衝突的匯出設定在 ECS 上重新整理,然後重試掛接命令:
# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp <ECS IP>:<匯出路徑<>本機掛載點>
範例:
[root@client ~]# mount -vv -t nfs -o vers=3,,nolock,sec=sys,proto=tcp xxx.xxx.xxx: /namespace/nfsbucket mnt/test final mount options: 'vers=3,,nolock,sec=sys,proto=tcp' mount.nfs: timeout set for Wed Aug 14 13:55:00 2019 mount.nfs: trying text-based options 'vers=3,nolock,sec=sys,proto=tcp,addr= xxx.xxx.xxx ' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying xxx.xxx.xxx prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=6 mount.nfs: trying xxx.xxx.xxx prog 100005 vers 3 prot TCP port 2049 xxx.xxx.xxx:/namespace/nfsbucket on /mnt/test type nfs (rw,vers=3,,nolock,sec=sys,proto=tcp)
Additional Information
相關的 NFS KB:
- ECS:如何建立基本的 NFS 匯出並將其掛接至用戶端
- ECS:dataheadsvc 記錄串流錯誤:要求 ReadLinkRequest 不支援 NFSv3 程序連結
- ECS:NFS 掛接失敗,沒有此類檔案、目錄或 ERROR_OBJECT_NOT_FOUND
- ECS:NFS 遠端 I/O 錯誤;變更啟用 FS 容器的容器擁有者可能會導致應用程式/使用者無法存取 NFS 檔案
- ECS:NFS 寫入會在一定數量的資料後擲回 I/O 錯誤。
- ECS:使用 ECS 的 NFS 檔案共用搭配 VMware NFS 資料存放區
- ECS:掛接 ECS NFS 匯出的最佳實務
- ECS:如何在 Windows 用戶端掛接 NFS 共用
- ECS:在 UI 中變更檔案匯出設定後,NFS 無法掛接
- ECS:Oracle WebCenter 內容 (WCC) 是否與 ECS 相容?
Affected Products
ECS ApplianceProducts
ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Software with Encryption, ECS Appliance Software without EncryptionArticle Properties
Article Number: 000019711
Article Type: How To
Last Modified: 25 Mar 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.