ECS: NFS-Mount schlägt fehl, wenn eine solche Datei, kein Verzeichnis oder kein ERROR_OBJECT_NOT_FOUND vorhanden ist

Zusammenfassung: NFS-Mounts (Network File System) schlagen mit "no such file or directory" oder "ERROR_OBJECT_NOT_FOUND" fehl.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

Beim Mounten eines NFS-Exports auf einem Client wird der Dateipfad als nicht gefunden angezeigt.

Gehen Sie auf dem NFS-Client beim Versuch, den Export zu mounten, wie folgt vor:
Befehl:
# sudo mount -t nfs -o vers=3,sec=sys,proto=tcp <ECS IP>:<Remote Export Path> <Local Mount Point>
Beispiel:
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
Bestätigtes Problem aus den ECS-Protokollen:
Befehl:
# egrep 'ERROR_OBJECT_NOT_FOUND|nfsProcessOperation' /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log
Beispiel:
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

Ursache

Dies ist beabsichtigt. ECS-Administratorhandbuch:

S3-NFS-Multiprotokollzugriff auf Verzeichnisse und Dateien

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. 

Das bedeutet, dass /NS1/NFS_Bucket/Bos1 ist kein Verzeichnis, soweit es NFS betrifft. 

/NS1/NFS_Bucket/Bos1 wird als Verzeichnis betrachtet, wenn sich ein Objekt oder eine Datei unter /Bos1/.

Lösung

Erstellen Sie eine:

  • Namespace = NS1
  • Bucket = NFS_Bucket
  • Verzeichnis = Bos1 
  • SCHREIBEN/HOCHLADEN eines Objekts (beliebiges Objekt) unter Bos1, bevor Sie versuchen, zu mounten /NS1/NFS_Bucket/Bos1.

Dadurch wird Bos1 als Verzeichnis behandelt und /NS1/NFS_Bucket/Bos1 montiert werden.

Weitere Informationen

Betroffene Produkte

ECS Appliance

Produkte

ECS Appliance, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
Artikeleigenschaften
Artikelnummer: 000052932
Artikeltyp: Solution
Zuletzt geändert: 14 Aug. 2025
Version:  6
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.