ECS: 해당 파일, 디렉토리 또는 ERROR_OBJECT_NOT_FOUND 없이 NFS 마운트가 실패함

요약: NFS(Network File System) 마운트가 "no such 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 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.