Project

General

Profile

Actions

Bug #40101

closed

libcephfs: returns ESTALE to nfs-ganesha's FSAL_CEPH when operating on .snap directory

Added by Nathan Fish almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Ganesha FSAL, cephfs.pyx, libcephfs
Labels (FS):
snapshots
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When I make an nfs-ganesha export of a cephfs using FSAL_CEPH, the NFS client receives ESTALE when attempting to stat, ls, cd, etc a .snap directory. The developers on Freenode #nfs-ganesha informed me that ganesha does not issue ESTALE, and only passes it through. Therefore libcephfs is returning file handles to ganesha that expire, and is returning ESTALE when these handles are later used.

While NFS clients are able to access specific snapshots by known names, eg 'ls .snap/1' works, being unable to 'ls' .snap renders this unhelpful for many use cases.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #40442: mimic: libcephfs: returns ESTALE to nfs-ganesha's FSAL_CEPH when operating on .snap directoryResolvedNathan CutlerActions
Copied to CephFS - Backport #40443: nautilus: libcephfs: returns ESTALE to nfs-ganesha's FSAL_CEPH when operating on .snap directoryResolvedPrashant DActions
Actions

Also available in: Atom PDF