Bug 1208079

Summary: Getting EIO instead of EDQUOTE when limit execeeds in disperse volume
Product: [Community] GlusterFS Reporter: Bhaskarakiran <byarlaga>
Component: disperseAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: aspandey, bugs, mzywusko, pkarampu, rgowdapp, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1224180 (view as bug list) Environment:
Last Closed: 2017-08-11 10:23:56 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: 1292020    
Bug Blocks: 1186580, 1224180    
Attachments:
Description Flags
sosreport of Node1
none
sosreport of client1
none
sosreport of Node2 none

Description Bhaskarakiran 2015-04-01 10:40:32 UTC
Description of problem:
=======================
After the quota limit is execeeded instead of "disk quota exceeded" message, it throws out Input/Output error. Can delete the file even.

[root@dhcp37-61 fuse1]# dd if=/dev/urandom of=testfile1 bs=128k count=10240
dd: writing `testfile1': Input/output error
dd: closing output file `testfile1': Input/output error
[root@dhcp37-61 fuse1]# rm -f testfile1 
rm: cannot remove `testfile1': Input/output error
[root@dhcp37-61 fuse1]# 

Version-Release number of selected component (if applicable):
=============================================================
[root@dhcp37-164 ~]# gluster --version
glusterfs 3.7dev built on Apr  1 2015 01:04:00
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.
[root@dhcp37-164 ~]# 

How reproducible:
=================
100%

Steps to Reproduce:
1. Create a disperse volume 1x(4+2)
2. set the quota limit to 1GB 
3. Create a file from mount exceeding 1GB

Actual results:
===============
Input / Output error

Expected results:
=================
Disk quota exceeded should be seen

Additional info:
================
Sosreports will be attached.

Comment 1 Bhaskarakiran 2015-04-01 10:56:23 UTC
Created attachment 1009618 [details]
sosreport of Node1

Comment 2 Bhaskarakiran 2015-04-01 10:59:36 UTC
Created attachment 1009619 [details]
sosreport of client1

Comment 3 Bhaskarakiran 2015-04-01 11:55:12 UTC
Created attachment 1009628 [details]
sosreport of Node2

Comment 4 Raghavendra G 2016-05-05 03:31:54 UTC
bz 1292020 is moved to MODIFIED. This bug is essentially a duplicate of bz 1292020

Comment 6 Ashish Pandey 2017-08-11 10:23:56 UTC

*** This bug has been marked as a duplicate of bug 1292020 ***