Hi,
I’m encountering an issue with snapshot creation using an NFS storage class for backups. The error details are as follows:
-
Snapshot Retrieval Request**:
A request to retrieve snapshots for the repository (_cat/snapshots
) results in an error indicating a failure to create the blob container. The error message mentions a “stale file handle” related to the NFS path used for storing backups.
{“error”:{“root_cause”:[{“type”:“exception”,“reason”:“failed to create blob container”}],“type”:“repository_exception”,“reason”:“[is_backup] Unexpected exception when loading repository data”,“caused_by”:{“type”:“exception”,“reason”:“failed to create blob container”,“caused_by”:{“type”:“file_system_exception",“reason”:"/opensearch-backup/backup: Stale file handle”}}},“status”:500} -
Snapshot Verification Request:
A verification request (_snapshot/_verify
) for the same repository also fails with a similar error, stating that the path is not accessible on the cluster-manager node.
{“error”:{“root_cause”:[{“type”:“exception”,“reason”:“failed to create blob container”}],“type”:“repository_verificatioption”,“reason”:“[is_backup] path is not accessible on cluster-manager node”,“caused_by”:{“type”:“exception”,“reason”:d to create blob container",“caused_by”:{“type”:“file_system_exception”,“reason”:“/opensearch-backup/backup: Stale file handle**”}}},“status”:500}
Both errors suggest a potential issue with the NFS storage configuration.
Could you provide guidance on resolving this issue or recommend best practices for using NFS as a storage class for OpenSearch snapshots?
Thanks in advance!