Bug 806978 - Volume name or brick name containing "ro", such as "korolev" may cause read-only volume
Summary: Volume name or brick name containing "ro", such as "korolev" may cause read-o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ric Wheeler
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-26 16:53 UTC by Yang Ye
Modified: 2015-08-10 07:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-10 07:47:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Yang Ye 2012-03-26 16:53:21 UTC
1. To reproduce the problem:

gluster> volume create korolev replica 2 transport tcp 192.168.2.102:/mnt/b/korolev 192.168.2.103:/mnt/a/korolev

mount in /etc/fstab
192.168.2.103:/korolev    /home/korolev    glusterfs defaults,_netdev,loglevel=WARNING,log-file=/var/log/gluster-korolev.log      0 0


2. This avoids the problem:

gluster> volume create k replica 2 transport tcp 192.168.2.102:/mnt/b/k 192.168.2.103:/mnt/a/k

This 
192.168.2.103:/k          /home/korolev    glusterfs defaults,_netdev,loglevel=WARNING,log-file=/var/log/gluster-korolev.log      0 0

Comment 1 Anand Avati 2012-04-13 07:20:11 UTC
CHANGE: http://review.gluster.com/3058 (mount.glusterfs: multiple fixes) merged in master by Vijay Bellur (vijay)

Comment 2 Amar Tumballi 2012-04-13 07:41:23 UTC
Thanks to Jeff Darcy for making sure we fix most of the parsing issues in the mount file

Comment 4 Gowrishankar Rajaiyan 2012-05-31 07:40:21 UTC
[root@dhcp201-221 ~]# gluster volume create ro dhcp201-214.englab.pnq.redhat.com:/export/shanks/shanks3
Creation of volume ro has been successful. Please start the volume to access data.
[root@dhcp201-221 ~]# gluster volume start ro
Starting volume ro has been successful
[root@dhcp201-221 ~]# 


[root@dhcp201-214 shanks2]# mount -t glusterfs dhcp201-221.englab.pnq.redhat.com:/ro /export/mount/shanks3
[root@dhcp201-214 shanks2]# cd /export/mount/shanks3
[root@dhcp201-214 shanks3]# touch a
[root@dhcp201-214 shanks3]# ls -l
total 4
-rw-r--r--. 1 root root 0 May 31 06:05 a
[root@dhcp201-214 shanks3]# 

Verified: glusterfs-3.3.0qa45-1.el6.x86_64


Note You need to log in before you can comment on or make changes to this bug.