ECS:そのようなファイル、ディレクトリー、またはERROR_OBJECT_NOT_FOUNDなしでNFSマウントが失敗する
概要: Network File System (NFS)のマウントが「no such file or directory」または「ERROR_OBJECT_NOT_FOUND」で失敗します。
この記事は次に適用されます:
この記事は次には適用されません:
この記事は、特定の製品に関連付けられていません。
すべての製品パージョンがこの記事に記載されているわけではありません。
現象
NFSエクスポートをクライアントにマウントすると、ファイル パスが見つからないと表示されます。
NFSクライアントから、エクスポートをマウントしようとすると、次のようになります。
NFSクライアントから、エクスポートをマウントしようとすると、次のようになります。
コマンド:
# sudo mount -t nfs -o vers=3,sec=sys,proto=tcp <ECS IP>:<Remote Export Path> <Local Mount Point>
Example:
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 directoryECSログから問題を確認しました。
コマンド:
# egrep 'ERROR_OBJECT_NOT_FOUND|nfsProcessOperation' /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
Example:
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 搭載可能。
その他の情報
関連するNFS記事:
次の関連記事を表示するには、Dellサポートの登録ユーザーとしてログインする必要がある場合があります。
対象製品
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ユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。