ECS:NFS 掛接失敗,沒有此類檔案、目錄或ERROR_OBJECT_NOT_FOUND

摘要: 網路檔案系統 (NFS) 掛接失敗,並顯示「no our file or directory」或「ERROR_OBJECT_NOT_FOUND」。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

將 NFS 匯出掛接至用戶端時,檔案路徑顯示為找不到。

從 NFS 用戶端嘗試掛接匯出時:
命令:
# sudo mount -t nfs -o vers=3,sec=sys,proto=tcp <ECS IP>:<Remote Export Path> <Local Mount Point>
範例:
admin@client~>$ sudo mount -t nfs -o vers=3,sec=sys,proto=tcp x.x.x.x:/NS1/NFS_Bucket/Bos1 /ecs_share
mount.nfs: mounting x.x.x.x:/NS1/NFS_Bucket/Bos1 failed, reason given by server: No such file or directory
ECS 記錄中已確認問題:
命令:
# egrep 'ERROR_OBJECT_NOT_FOUND|nfsProcessOperation' /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
範例:
admin@node1~> egrep 'ERROR_OBJECT_NOT_FOUND|nfsProcessOperation' /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
2016-09-20 18:47:23,666 [RpcDispatcherMD-568497] ERROR RpcProgramMountd.java (line 152) Can't get handle for export: /NS1/NFS_Bucket/Bos1/, error ERROR_OBJECT_NOT_FOUND
2016-09-20 18:47:24,292 [RpcDispatcherMD-568507] WARN FileSystemAccessHelper.java (line 1548) nfsProcessOperation : Object path : Bos1 was not found by method nfsGetOidAndOwnerZone
2016-09-20 18:47:24,293 [RpcDispatcherMD-568507] ERROR RpcProgramMountd.java (line 152) Can't get handle for export: /NS1/NFS_Bucket/Bos1/, error ERROR_OBJECT_NOT_FOUND
2016-09-20 18:47:24,837 [RpcDispatcherMD-568511] WARN FileSystemAccessHelper.java (line 1548) nfsProcessOperation : Object path : Bos1 was not found by method nfsGetOidAndOwnerZone

原因

這是根據設計運作。ECS 系統管理員指南概述:

S3 NFS 多重通訊協定存取目錄和檔案

ECS supports writing objects using the S3 protocol and accessing them as files using NFS and, conversely, writing files using 
NFS and accessing the files as objects using the S3 protocol. You must understand how directories are managed when you use 
multi-protocol access.

The S3 protocol does not make provision for the creation of folders or directories.

To enable multi-protocol operation, ECS support for the S3 protocol formalizes the use of / and creates directory objects for all 
intermediate paths in an object name. An object named /a/b/c.txt results in the creation of a file object named c.txt and 
directory objects for a and b. The directory objects are not exposed to users through the S3 protocol, and are maintained only 
to provide multi-protocol access and compatibility with file system-based APIs. 

這表示 /NS1/NFS_Bucket/Bos1 就 NFS 而言,它不是一個目錄。 

/NS1/NFS_Bucket/Bos1 當以下位置下有物件或檔案時,將視為目錄 /Bos1/

解析度

建立:

  • 命名空間 = NS1
  • 儲存桶 = NFS_Bucket
  • 目錄 = Bos1 
  • 在嘗試掛接之前,在 Bos1 下寫入/上傳物件 (任何物件) /NS1/NFS_Bucket/Bos1

這會將 Bos1 視為一個目錄,並且 /NS1/NFS_Bucket/Bos1 可以安裝。

其他資訊

受影響的產品

ECS Appliance

產品

ECS Appliance, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
文章屬性
文章編號: 000052932
文章類型: Solution
上次修改時間: 14 8月 2025
版本:  6
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。