Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

ECS: NFS mount failing with No such file or directory or ERROR_OBJECT_NOT_FOUND

Summary: This article describes how NFS mounts are failing with No such file or directory or ERROR_OBJECT_NOT_FOUND.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

When mounting an NFS export to a client, the file path shows as not found.

From the NFS client, while attempting to mount the export:
Command:
# 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 directory
Confirmed issue from the ECS logs:
Command:
# 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

Cause

A typo in the export path in the mount command caused this.

Resolution

In the example, we create a namespace = NS1 and a bucket = NFS_Bucket.

The issue was we are exporting /NS1/NFS_Bucket/Bos1 before the folder Bos1 even exists.

The solution is to export /NS1/NFS_Bucket only. Then create the folder Bos1 along with any other folders needed and then the NFS mount detailed in the issue section works.

Generically, if someone receives an error message "No such file or directory" or "ERROR_OBJECT_NOT_FOUND" in the ECS logs. There is some sort of mistake in the namespace and or bucket name or the subfolder does not yet exist.

Note: The export paths are case-sensitive.

Additional Information

Article Properties


Affected Product

ECS Appliance

Product

ECS Appliance, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption

Last Published Date

22 Feb 2023

Version

3

Article Type

Solution