Bug 1306908 - listing of snaps created before a directory gives "Stale file handle" from NFS mount.
Summary: listing of snaps created before a directory gives "Stale file handle" from NF...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot
Version: rhgs-3.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-12 06:57 UTC by Shashank Raj
Modified: 2018-04-16 16:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 16:04:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Shashank Raj 2016-02-12 06:57:03 UTC
Description of problem:
listing of snaps created before a directory gives "Stale file handle" when listed from /mnt/dir/.snaps from NFS mount.

Version-Release number of selected component (if applicable):
glusyterfs-3.7.5-19

How reproducible:
Always

Steps to Reproduce:
1.Create a volume and mount it using NFS
2.Enable USS on the volume and create and activate 2 snapshots; snap1 and snap2
3.Create a directory say dir1
4.Create and activate 2 more snapshots snap3 and snap4.
5.cd  to /mnt/dir1/.snaps and do a ls -l on it, Observe that snap1 and snap2 are listed as below:

[root@dhcp35-15 .snaps]# ls -ltr
ls: cannot access snap1: Stale file handle
ls: cannot access snap2: Stale file handle
total 0
??????????? ? ?    ?     ?            ? snap2
??????????? ? ?    ?     ?            ? snap1
drwxr-xr-x. 2 root root 18 Feb 12  2016 snap4
drwxr-xr-x. 2 root root 18 Feb 12  2016 snap3

Actual results:
listing of snaps created before a directory gives "Stale file handle" from NFS mount.

Expected results:
Snaps created before a directory should not give "stale file handle" while listing from NFS mount.

Additional info:

Comment 2 Avra Sengupta 2016-02-29 08:33:55 UTC
Removing devel_ack, as this is not priority right now.

Comment 3 RHEL Program Management 2016-02-29 08:36:07 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.