[Bugs] [Bug 1344594] New: [disperse] mkdir after re balance give Input/ Output Error

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 10 06:59:22 UTC 2016


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

            Bug ID: 1344594
           Summary: [disperse] mkdir after re balance give Input/Output
                    Error
           Product: GlusterFS
           Version: 3.8.0
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: bperkins at redhat.com, bugs at gluster.org
        Depends On: 1344277
            Blocks: 1344278



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

Description of problem:

For EC volume and nfs mount, creation of directory is giving EIO error.   


Version-Release number of selected component (if applicable):
glusterfs 3.7.9 built on Jun  7 2016 12:00:32
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.


How reproducible:
100%

Steps to Reproduce:
1. Create a EC volume, Mount it through nfs on 2-3 differnet mount points.
2. Start IO. Create lots file in a for loop. 
3. When IO's are going on, do add-brick and re balance.
4 - stop IO's and try to do mkdir on same point - It gives EIO.

Actual results:

mkdir giving EIO

Expected results:

mkdir should be successful 

Additional info:

--- Additional comment from Ashish Pandey on 2016-06-09 06:37:27 EDT ---

RCA - 
In case of mkdir failure, dht expects error information so that it can act
accordingly. 
In this case, after re balance, layout has been changed. mkdir with old layout 
returns EIO. EC gets this error in cbk->xdata but does not pass it back to dht.
In this case dht will not be able to take corrective action.

--- Additional comment from Vijay Bellur on 2016-06-09 08:42:17 EDT ---

REVIEW: http://review.gluster.org/14679 (cluster/ec: Pass xdata to dht in case
of error) posted (#1) for review on master by Ashish Pandey
(aspandey at redhat.com)

--- Additional comment from Vijay Bellur on 2016-06-09 11:44:50 EDT ---

REVIEW: http://review.gluster.org/14679 (cluster/ec: Pass xdata to dht in case
of error) posted (#2) for review on master by Ashish Pandey
(aspandey at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1344277
[Bug 1344277] [disperse] mkdir after re balance give Input/Output Error
https://bugzilla.redhat.com/show_bug.cgi?id=1344278
[Bug 1344278] [disperse] mkdir after re balance give Input/Output Error
-- 
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