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

bugzilla at redhat.com bugzilla at redhat.com
Wed May 27 06:32:52 UTC 2015


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

            Bug ID: 1225320
           Summary: ls command failed with features.read-only on while
                    mounting ec volume.
           Product: GlusterFS
           Version: 3.7.0
         Component: disperse
          Keywords: Triaged
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: amukherj at redhat.com, bugs at gluster.org,
                    gluster-bugs at redhat.com, gowda.shishir at gmail.com,
                    jiaowopan at gmail.com, madaozhou at gmail.com,
                    mingfan.lu at gmail.com, pkarampu at redhat.com,
                    ravishankar at redhat.com, vbellur at redhat.com,
                    xhernandez at datalab.es
        Depends On: 1211123



+++ This bug was initially created as a clone of Bug #1211123 +++

Description of problem:
ls command failed if ec volume was set features.read-only on

Version-Release number of selected component (if applicable):
starting from gluster3.6.3 beta1 to gluster3.7 dev

How reproducible:

Create ec volume and set this volume with features.read-only on.
Mount ec volume and enter ls cmd under mount point.
Steps to Reproduce:
1.Create ec volume.
2.Set features.read-only on
3.Mount volume and enter ls cmd.

Actual results:

ls: cannot open directory .: Input/output error

Expected results:

list all the files

Additional info:

--- Additional comment from Pranith Kumar K on 2015-05-09 13:43:19 EDT ---



--- Additional comment from Anand Avati on 2015-05-09 13:53:35 EDT ---

REVIEW: http://review.gluster.org/10727 (worm: Let lock calls succeed) posted
(#1) for review on master by Pranith Kumar Karampuri (pkarampu at redhat.com)

--- Additional comment from Pranith Kumar K on 2015-05-09 13:55:21 EDT ---

With the fix:

root at pranithk-laptop - ~ 
23:19:42 :) ⚡ glusterd && gluster volume create ec2 disperse-data 2 redundancy
1 `hostname`:/home/gfs/ec_{0..2} force && gluster volume start ec2 && mount -t
glusterfs `hostname`:/ec2 /mnt/ec2
volume create: ec2: success: please start the volume to access data
cd volume start: ec2: success

root at pranithk-laptop - ~ 
23:19:49 :) ⚡ cd /mnt/ec2

root at pranithk-laptop - /mnt/ec2 
23:19:50 :) ⚡ dd if=/dev/zero of=test.bak bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 0.046685 s, 225 MB/s

root at pranithk-laptop - /mnt/ec2 
23:19:53 :) ⚡ md5sum test.bak
f1c9645dbc14efddc7d8a322685f26eb  test.bak

root at pranithk-laptop - /mnt/ec2 
23:20:03 :) ⚡ cd

root at pranithk-laptop - ~ 
23:20:05 :) ⚡ umount /mnt/ec2 

root at pranithk-laptop - ~ 
23:20:07 :) ⚡ gluster v set ec2 read-only on
volume set: success

root at pranithk-laptop - ~ 
23:20:11 :) ⚡ mount -t glusterfs `hostname`:/ec2 /mnt/ec2

root at pranithk-laptop - ~ 
23:20:14 :) ⚡ cd /mnt/ec2

root at pranithk-laptop - /mnt/ec2 
23:20:15 :) ⚡ md5sum test.bak 
f1c9645dbc14efddc7d8a322685f26eb  test.bak

root at pranithk-laptop - /mnt/ec2 
23:20:21 :) ⚡ ls
test.bak

root at pranithk-laptop - /mnt/ec2 
23:20:25 :) ⚡

--- Additional comment from Anand Avati on 2015-05-15 04:24:14 EDT ---

REVIEW: http://review.gluster.org/10727 (worm: Let lock calls succeed) posted
(#2) for review on master by Pranith Kumar Karampuri (pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-05-21 12:48:26 EDT ---

REVIEW: http://review.gluster.org/10886 (posix: Do not update unmodified xattr
in (f)xattrop) posted (#1) for review on master by Xavier Hernandez
(xhernandez at datalab.es)

--- Additional comment from Anand Avati on 2015-05-22 00:26:29 EDT ---

REVIEW: http://review.gluster.org/10727 (worm: Let lock, zero xattrop calls
succeed) posted (#3) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-05-22 00:26:32 EDT ---

REVIEW: http://review.gluster.org/10886 (posix: Do not update unmodified xattr
in (f)xattrop) posted (#2) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-05-22 03:29:51 EDT ---

REVIEW: http://review.gluster.org/10886 (posix: Do not update unmodified xattr
in (f)xattrop) posted (#3) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)

--- Additional comment from Anand Avati on 2015-05-22 05:37:32 EDT ---

REVIEW: http://review.gluster.org/10886 (posix: Do not update unmodified xattr
in (f)xattrop) posted (#4) for review on master by Pranith Kumar Karampuri
(pkarampu at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1211123
[Bug 1211123] ls command failed with features.read-only on while mounting
ec volume.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list