Bug 1161531
| Summary: | [USS]: Unable to access .snaps after snapshot restore after directories were deleted and recreated | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | senaik | |
| Component: | snapshot | Assignee: | Vijaikumar Mallikarjuna <vmallika> | |
| Status: | CLOSED ERRATA | QA Contact: | senaik | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.0 | CC: | rhinduja, rhs-bugs, rjoseph, smohan, storage-qa-internal, surs, vmallika | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.0.3 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | USS | |||
| Fixed In Version: | glusterfs-3.6.0.37-1 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1162498 (view as bug list) | Environment: | ||
| Last Closed: | 2015-01-15 13:42:05 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: | 1159263, 1162498, 1162694 | |||
|
Description
senaik
2014-11-07 10:09:16 UTC
sosreport: ======== http://rhsqe-repo.lab.eng.blr.redhat.com/bugs_necessary_info/snapshots/uss/1161531/ There are two scenarios here: Scenario-A) 1. Create a directory 'xyz' 2. Create a snapshot 'snap1' 3. Delete directory 'xyz' 4. Create a new directory with the same name 'xyz' 5. Now cd to '/mnt/xyz/.snaps' will fail, because xyz is not part of any snapshot Even though the directory with the same name xyz exists in snapshot snap1, from the file-system point of view both are different. This is a valid Scenario and can be documented. Scenario-B) 1. Create a directory 'xyz' 2. Create snapshots 'snap1' and 'snap2' 3. Delete directory 'xyz' 4. Create another snapshot 'snap3' 5. Now restore the volume to 'snap2' 6. cd to '/mnt/xyz/.snaps' will fail. directory xyz exists in older snapshot snap1, but still it fails. Because uss checks is the directory exists in the latest snapshot, which is not found in snap3 and it fails. This is a bug. This needs to be fixed. Patch submitted upstream: https://code.engineering.redhat.com/gerrit/37954 Version :glusterfs 3.6.0.38 ======== Retried the steps as mentioned in 'Description' unable to reproduce the issue. Marking the bug as 'Verified' 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/RHBA-2015-0038.html |