Bug 1439453

Summary: [VSS] Unable to restore data in windows client after taking a snapshot
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: sambaAssignee: Michael Adam <madam>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, anoopcs, gdeschner, pgurusid, rhinduja, rhs-smb
Target Milestone: ---Keywords: Regression
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.6.3-0.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:47:10 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: 1417151    

Description Vivek Das 2017-04-06 03:45:59 UTC
Description of problem:
The VSS feature is not working as i am able to take a snapshot, able to see .snaps directory with all the snaps available in windows mount but i am unable to restore data.

Version-Release number of selected component (if applicable):
samba-client-4.6.2-0.el7rhgs.x86_64
glusterfs-3.8.4-21.el7rhgs.x86_64
Windows 10
How reproducible:
Always

Steps to Reproduce:
1.Create a samba-ctdb setup with Distributed-Replicate volume
2.Enable USS plugins
3.Enable VSS plugins
4.Take a snapshot and activate the snapshot
5.Mount the volume in the windows client
6.Check for the .snaps directory having the snapshot present in it
7.Try changing data and then restoring data

Actual results:
No restore data is available

Expected results:
Should be able to restore data after changes to data available in the mount.

Additional info:

Comment 12 Vivek Das 2017-05-03 04:00:48 UTC
After upgrading to the latest samba version i.e samba-4.6.3-0.el7rhgs i am able to restore snapshots in windows.
Tried scenarios like
1) taking a snapshot
2) Activating snapshot
3) Deleting already present files in windows mount
4) Right clicking and restoring the data back.

Looks fine so marking the bug as verified.

Comment 16 errata-xmlrpc 2017-09-21 04:47:10 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://access.redhat.com/errata/RHBA-2017:2780