[Bugs] [Bug 1227172] ls command failed with features.read-only on while mounting ec volume.

bugzilla at redhat.com bugzilla at redhat.com
Sun Jul 5 11:47:19 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1227172

Bhaskarakiran <byarlaga at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #5 from Bhaskarakiran <byarlaga at redhat.com> ---
verified this on 3.7.1-7 build. Marking this as fixed.

[root at rhs-client29 ~]# mount -t glusterfs transformers:/vol2 /mnt/fuse/
[root at rhs-client29 ~]# cd /mnt/fuse/
[root at rhs-client29 fuse]# ls -l
total 102907
drwxr-xr-x.      2 root root   843776 Jul  3 13:00 50k_heal
drwxr-xr-x.      2 root root       21 Jul  3 13:00 appends
drwxr-xr-x. 509880 root root 12288000 Jul  3 13:00 dirs.
drwxr-xr-x.      2 root root    32768 Jul  3 13:00 files
drwxr-xr-x.      2 root root       23 Jul  3 12:56 iozone
drwxr-xr-x.      3 root root       24 Jul  3 12:43 linux
drwxr-xr-x.     10 root root     8192 Jul  5 17:13 nfs
[root at rhs-client29 fuse]# cd nfs
[root at rhs-client29 nfs]# ls -l
total 47552
drwxr-xr-x.      2 root root  573440 Jul  1 08:14 20k_heal
drwxr-xr-x.      2 root root  753664 Jul  2 05:47 50k_heal
drwxr-xr-x.      2 root root    8192 Jun 30 14:54 appends
drwxr-xr-x.      2 root root       6 Jul  1 11:58 dbench
drwxr-xr-x. 196636 root root 4743168 Jul  1 01:47 dirs
drwxr-xr-x.     47 root root    8192 Jul  1 12:30 files
drwxr-xr-x.      4 root root      42 Jun 30 16:18 linux
drwxr-xr-x.      2 root root       6 Jun 30 18:38 renames
[root at rhs-client29 nfs]# touch 1
touch: cannot touch `1': Read-only file system
[root at rhs-client29 nfs]# touch 1
[root at rhs-client29 nfs]# ls -l 1
-rw-r--r--. 1 root root 0 Jul  5 17:16 1
[root at rhs-client29 nfs]# 

[root at transformers /]# gluster v set vol2 read-only on
volume set: success
[root at transformers /]# gluster v info vol2

Volume Name: vol2
Type: Disperse
Volume ID: b85dab91-c806-418b-bbcf-1ad27faa9396
Status: Started
Number of Bricks: 1 x (8 + 3) = 11
Transport-type: tcp
Bricks:
Brick1: ninja:/rhs/brick1/vol2-1
Brick2: ninja:/rhs/brick2/vol2-2
Brick3: ninja:/rhs/brick3/vol2-3
Brick4: ninja:/rhs/brick4/vol2-4
Brick5: vertigo:/rhs/brick1/vol2-5
Brick6: vertigo:/rhs/brick2/vol2-6
Brick7: vertigo:/rhs/brick3/vol2-7
Brick8: ninja:/rhs/brick1/vol2-8
Brick9: ninja:/rhs/brick2/vol2-9
Brick10: ninja:/rhs/brick3/vol2-10
Brick11: ninja:/rhs/brick4/vol2-11
Options Reconfigured:
features.read-only: on
disperse.background-heals: 0
features.barrier: disable
server.event-threads: 2
cluster.disperse-self-heal-daemon: enable
performance.readdir-ahead: on
features.uss: on
features.quota: off
features.inode-quota: off
client.event-threads: 2
performance.quick-read: on
performance.io-cache: on
performance.write-behind: on
performance.stat-prefetch: on
performance.read-ahead: on
cluster.heal-timeout: -1
[root at transformers /]# gluster v set vol2 read-only off
volume set: success
[root at transformers /]# 
[root at transformers /]# gluster v info vol2

Volume Name: vol2
Type: Disperse
Volume ID: b85dab91-c806-418b-bbcf-1ad27faa9396
Status: Started
Number of Bricks: 1 x (8 + 3) = 11
Transport-type: tcp
Bricks:
Brick1: ninja:/rhs/brick1/vol2-1
Brick2: ninja:/rhs/brick2/vol2-2
Brick3: ninja:/rhs/brick3/vol2-3
Brick4: ninja:/rhs/brick4/vol2-4
Brick5: vertigo:/rhs/brick1/vol2-5
Brick6: vertigo:/rhs/brick2/vol2-6
Brick7: vertigo:/rhs/brick3/vol2-7
Brick8: ninja:/rhs/brick1/vol2-8
Brick9: ninja:/rhs/brick2/vol2-9
Brick10: ninja:/rhs/brick3/vol2-10
Brick11: ninja:/rhs/brick4/vol2-11
Options Reconfigured:
features.read-only: off
disperse.background-heals: 0
features.barrier: disable
server.event-threads: 2
cluster.disperse-self-heal-daemon: enable
performance.readdir-ahead: on
features.uss: on
features.quota: off
features.inode-quota: off
client.event-threads: 2
performance.quick-read: on
performance.io-cache: on
performance.write-behind: on
performance.stat-prefetch: on
performance.read-ahead: on
cluster.heal-timeout: -1
[root at transformers /]#

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8xkoez9h6i&a=cc_unsubscribe


More information about the Bugs mailing list