ECS: Böyle Bir Dosya veya Dizin veya Dizin Yoksa NFS Bağlantısı ERROR_OBJECT_NOT_FOUND Başarısız Oluyor

摘要: Network File System (NFS) bağlamaları "böyle bir dosya veya dizin yok" veya "ERROR_OBJECT_NOT_FOUND" hatasıyla başarısız oluyor.

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

Bir NFS dışa aktarımını istemciye bağlarken dosya yolu bulunamadı olarak gösterilir.

Dışa aktarımı bağlamaya çalışırken NFS istemcisinden:
Komut:
# sudo mount -t nfs -o vers=3,sec=sys,proto=tcp <ECS IP>:<Remote Export Path> <Local Mount Point>
Örneğin:
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 günlüklerinden doğrulanan sorun:
Komut:
# egrep 'ERROR_OBJECT_NOT_FOUND|nfsProcessOperation' /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
Örneğin:
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

原因

Bu, tasarım gereği böyledir. ECS Yönetici Kılavuzu'nun ana hatları:

Dizinlere ve dosyalara S3 NFS çoklu protokol erişimi

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. 

Bu şu anlama geliyor /NS1/NFS_Bucket/Bos1 NFS söz konusu olduğunda bir dizin değildir. 

/NS1/NFS_Bucket/Bos1 altında bir nesne veya dosya olduğunda dizin olarak kabul edilir. /Bos1/.

解决方案

Oluşturun:

  • Ad alanı = NS1
  • Kova = NFS_Bucket
  • dizin = bos1 
  • Bağlamaya çalışmadan önce Bos1 altında bir Nesne (Herhangi Bir Nesne) YAZIN/YÜKLEYIN /NS1/NFS_Bucket/Bos1.

Bu, Bos1'i bir dizin olarak ele alır ve /NS1/NFS_Bucket/Bos1 monte edilebilir.

其他信息

受影响的产品

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
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。