| Summary: | nfs.volume-access: read-only [Does NOT work] | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Saul Serna <sserna> |
| Component: | cli | Assignee: | Krishna Srinivas <krishna> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.2.4 | CC: | fharshav, gluster-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Saul Serna
2011-10-20 00:56:32 UTC
Saul, On which release did you try this? I tried on 3.2 and main branch, both work fine: root@escape:~# /opt/glusterfs/sbin/gluster volume set test1 nfs.volume-access read-only Set volume successful root@escape:~# cd /mnt/nfs root@escape:/mnt/nfs# mkdir ddd mkdir: cannot create directory `ddd': Read-only file system root@escape:/mnt/nfs# I tested this using 3.2.4 on my personal nodes. (In reply to comment #2) > > I tested this using 3.2.4 on my personal nodes. Tested this with 3.2.3 on Fedora 15 [root@sysrq fharshav]# gluster volume info Volume Name: hello Type: Distribute Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: 10.14.16.156:/tmp/test1 Brick2: 10.14.16.156:/tmp/test2 Options Reconfigured: nfs.volume-access: read-only mount -overs=3 localhost:/hello /tmp/nfs [root@sysrq fharshav]# cd /tmp/nfs/ [root@sysrq nfs]# touch a touch: cannot touch `a': Read-only file system [root@sysrq nfs]# Can you test again saul? Saul, Just to be sure I tried on 3.2.4 also and it worked as expected. Let us know if it does not work for you when you try it again. I will close this bug for now. |