Bug 1260086 - snapshot: from nfs-ganesha mount no content seen in .snaps/<snapshot-name> directory
Summary: snapshot: from nfs-ganesha mount no content seen in .snaps/<snapshot-name> di...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: RHGS 3.1.1
Assignee: Jiffin
QA Contact: Saurabh
URL:
Whiteboard:
Depends On: 1260859
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-04 12:03 UTC by Saurabh
Modified: 2016-09-17 13:03 UTC (History)
13 users (show)

Fixed In Version: glusterfs-3.7.1-15
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1260611 (view as bug list)
Environment:
Last Closed: 2015-10-05 07:25:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1845 0 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.1 update 2015-10-05 11:06:22 UTC

Description Saurabh 2015-09-04 12:03:17 UTC
Description of problem:
Mounted the volume using the nfs-ganesha and took snapshot. From snapshot there is not data seen in .snaps/<snapshot-name>

Version-Release number of selected component (if applicable):
glusterfs-3.7.1-14.el7rhgs.x86_64
nfs-ganesha-2.2.0-7.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
1. create a volume of 6x2 type

2. configure nfs-ganesha, export the volume created in step1

3. on client mount the volume over nfs with vers=3 or 4,

3a. create some data inside the mount-point

4. enable uss using command
   gluster volume set <volname> uss on

5. create a snapshot using command,
   gluster snapshot create <snapname> <volname>

6. activate snapshot created in step 4,
   gluster snapshot activate <snapname>

7. cd /mount/point/volname/.snaps/<snapshot-name>

8. ls -lR

Actual results:
step 8 fails, as there is no data inside snapshot directory. Basically the data is not fetched.

Expected results:
Step 8 should fetch data from the server, as the data is fetched from glusterfs(native mount).

Additional info:

Comment 2 Jiffin 2015-09-08 05:33:54 UTC
The patch merged in the upstream http://review.gluster.org/#/c/12117/

Comment 3 Jiffin 2015-09-09 08:31:16 UTC
The patch merged in upstream http://review.gluster.org/#/c/12117/

Comment 8 Saurabh 2015-09-16 11:14:15 UTC
# cd /mnt/vol1/.snaps
# ls
snap1_GMT-2015.09.16-15.30.02  snap2-quota-dir-full_GMT-2015.09.16-16.23.21
# cd snap2-quota-dir-full_GMT-2015.09.16-16.23.21/
# ls
dir  file.dd
#

Comment 10 errata-xmlrpc 2015-10-05 07:25:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1845.html


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