Bug 1344278

Summary: [disperse] mkdir after re balance give Input/Output Error
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ashish Pandey <aspandey>
Component: disperseAssignee: Ashish Pandey <aspandey>
Status: CLOSED ERRATA QA Contact: Ambarish <asoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, asoman, bperkins, bugs, nchilaka, pkarampu, rcyriac, rhinduja, rhs-bugs, storage-qa-internal
Target Milestone: ---Keywords: Regression, ZStream
Target Release: RHGS 3.1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1344277 Environment:
Last Closed: 2016-06-23 05:26:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1344277, 1344595    
Bug Blocks: 1311817    

Description Ashish Pandey 2016-06-09 10:21:17 UTC
+++ 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:

Comment 2 Ambarish 2016-06-09 10:23:41 UTC
Proposing a blocker for 3.1.3 post discussion with Pranith/Ashish.

Comment 7 Atin Mukherjee 2016-06-10 09:28:55 UTC
Downstream patch : https://code.engineering.redhat.com/gerrit/#/c/76318/ is merged now.

Comment 9 Ambarish 2016-06-11 15:54:38 UTC
Tried creating 1,10,100 and 1000 directories during and post rebalance on the mount point as well as  subdirs within the mount point.
Everything worked for me without any EIOs on 3.7.9-10.
Verified.

Comment 11 errata-xmlrpc 2016-06-23 05:26:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1240