Bug 1341034
Summary: | [quota+snapshot]: Directories are inaccessible from activated snapshot, when the snapshot was created during directory creation | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | krishnaram Karthick <kramdoss> | |
Component: | snapshot | Assignee: | Mohammed Rafi KC <rkavunga> | |
Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.1 | CC: | amukherj, nbalacha, rcyriac, rhinduja, rhs-bugs, rjoseph, rkavunga, storage-qa-internal | |
Target Milestone: | --- | Keywords: | Regression, ZStream | |
Target Release: | RHGS 3.1.3 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.9-8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1341796 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-23 05:24:57 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: | 1311817, 1341796, 1342372, 1342374, 1342375 |
Description
krishnaram Karthick
2016-05-31 06:55:34 UTC
- Tried reproducing this issue, couldn't reproduce - This is possible when fixlayout in hot tier is not complete and we try to take a snapshot, will have to confirm this theory snapshot-1 was activated and mounted on 10.70.47.161 on '/mnt/superman' [root@dhcp47-161 ~]# mount ... 10.70.37.120:/snaps/snapshot-superman-1_GMT-2016.05.31-04.54.11/superman on /mnt/superman type fuse.glusterfs (ro,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072) ... upstream master patch : http://review.gluster.org/14608 More details about the fix: Since snapshot volumes are read-only volume, there is no need to enforce quota limits on snapshotted volumes. So even if quota is enabled on parent volume, we will disable quota for snapshot, when we create volfile. But restoring the snapshot volume will preserve quota options. upstream master patch : http://review.gluster.org/14608 upstream 3.8 patch : http://review.gluster.org/14628 upstream 3.7 patch : http://review.gluster.org/14629 upstream 3.6 patch : http://review.gluster.org/14630 downstream 3.1.3 patch : https://code.engineering.redhat.com/gerrit/5814/ Correct downstream patch: https://code.engineering.redhat.com/gerrit/75814 Created distribute disperse tiered volumes and did fuse mount. started creating files and directories from client. While IO was happening, created snapshots. mounted snapshot ,checked files and directories are accessible and consistent. Restored the snapshot to check quota values are restored on not. Bug verified on build glusterfs-3.7.9-8.el7rhgs.x86_64 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-2016:1240 |