Bug 1160621
Summary: | [USS]: From NFS mount, unable to access the first snapshot under .snaps directory | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik |
Component: | snapshot | Assignee: | Vijaikumar Mallikarjuna <vmallika> |
Status: | CLOSED NOTABUG | QA Contact: | Anoop <annair> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.0 | CC: | asengupt, asriram, nsathyan, rabhat, rhinduja, rhs-bugs, rjoseph, smohan, storage-qa-internal, surs, vagarwal, vmallika |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | USS | ||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
If the current directory is not a part of the snapshot say 'snap1', then the user cannot enter the '.snaps/snap1' directory.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-02 09:23:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1153907, 1160678, 1163416, 1303865, 1316096 |
Description
senaik
2014-11-05 09:27:04 UTC
the testcase mentioned in the description, dir 'nfs_dir2' is not part of snap1, so lookup will fails with ESTALE. NFS does getattr (stat) on all the files retrieved from readdir for caching. As snap1 doesn't contain dir 'nfs_dir2' it gets ESTALE and marks snap1 negative. Even in FUSE mount, snap1 will be listed. but cd to snap1 will not work. This is explained in 'https://bugzilla.redhat.com/show_bug.cgi?id=1159302#c4'. As vijaykumar explained in the 3rd comment, this happens because, nfs client upon getting readdir responses, sends getattr on each of the entries it received. Now, since the directory nfs_dir2 (or to be more specific the gfid of nfs_dir2) is not present in snap1, getattr operation on that gfid in snap1 will fail and nfs client will send the o/p in the way mentioned in the bug description. Hi Vijai, Can you review the edited doc text for technical accuracy and sign off? Hi Pavithra, I have edited the doc-text. We can enter into '.snaps' directory but not into '.snaps/snapname/' *** Bug 1159302 has been marked as a duplicate of this bug. *** This is an expected behavior and not a bug, so closing the bug If the current directory '/dir' is not a part of the snapshot say 'snap1', then the user cannot enter the '/dir/.snaps/snap1' directory. |