Bug 1131968
Summary: | [SNAPSHOT]: snapshoted volume is read only but it shows rw attributes in mount | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | snapshot | Assignee: | Vijaikumar Mallikarjuna <vmallika> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.0 | CC: | asengupt, nsathyan, rhs-bugs, rjoseph, senaik, smohan, storage-qa-internal, vmallika | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.1.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | SNAPSHOT | |||
Fixed In Version: | glusterfs-3.7.0-3.el6rhs | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1132946 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-29 04:35:19 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: | 1132946, 1175692, 1175694, 1202842, 1223636 |
Description
Rahul Hinduja
2014-08-20 12:17:18 UTC
We are mounting snapshot bricks with 'rw' options because when snapshots are activated, during brick start-up some xlators like 'posix xlators' tries to set xattrs and this will fail if the bricks are mounted readonly. Version : glusterfs-3.7.1-4.el6rhs.x86_64 Steps : ====== 1) Create a snapshot and activate it. gluster snapshot create S1 vol0 snapshot create: success: Snap S1_GMT-2015.06.22-11.54.18 created successfully [root@inception scripts]# gluster snapshot activate S1_GMT-2015.06.22-11.54.18 Snapshot activate: S1_GMT-2015.06.22-11.54.18: Snap activated successfully 2) Mount the snap volume on the client mount -t glusterfs 10.70.34.50:/snaps/S2_GMT-2015.06.22-12.11.15/vol0 /mnt/S2 cd /mnt/S2 [root@dhcp35-63 S2]# mkdir a mkdir: cannot create directory `a': Read-only file system 3)grep for mount attributes: mount | grep S2_GMT- 10.70.34.50:/snaps/S2_GMT-2015.06.22-12.11.15/vol0 on /mnt/S2 type fuse.glusterfs (ro,default_permissions,allow_other,max_read=131072) it shows Read-Only Marking the bug '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/RHSA-2015-1495.html |