Bug 1037790

Summary: quota: mkdir allowed even if quota limit is already reached
Product: [Community] GlusterFS Reporter: Susant Kumar Palai <spalai>
Component: quotaAssignee: Susant Kumar Palai <spalai>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 15:40:20 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:

Description Susant Kumar Palai 2013-12-03 20:00:44 UTC
Description of problem:
Having a distributed replicated volume with quota limit set for 2GB
on the root of the volume.
The limit is already reached still, the mkdir for 100 or more directories is still allowed to create more dir(s).


How reproducible:
always

Steps to Reproduce:
1. create a volume and start it.
2. enable and set limit on the root of volume to 2GB
3. create files in root of volume, over nfs mount, till limit is reached.
4. now try to create directories on the mount point

Actual results:
able to create 100 directories, may even go for more directories

Expected results:
since quota limit is reached, hence we should not be allowing creating new directories.

Additional info:

Comment 1 Anand Avati 2013-12-04 19:11:33 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#1) for review on master by susant palai (spalai)

Comment 2 Anand Avati 2013-12-04 20:04:59 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#2) for review on master by susant palai (spalai)

Comment 3 Anand Avati 2013-12-04 20:12:32 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#3) for review on master by susant palai (spalai)

Comment 4 Anand Avati 2013-12-10 09:06:49 UTC
REVIEW: http://review.gluster.org/6467 (features/marker: account directory blocks in a directory size.) posted (#1) for review on master by susant palai (spalai)

Comment 5 Anand Avati 2013-12-10 09:10:56 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#4) for review on master by susant palai (spalai)

Comment 6 Anand Avati 2013-12-10 11:27:14 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#5) for review on master by susant palai (spalai)

Comment 7 Anand Avati 2013-12-11 10:55:19 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#6) for review on master by susant palai (spalai)

Comment 8 Anand Avati 2013-12-12 05:47:52 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#7) for review on master by susant palai (spalai)

Comment 9 Anand Avati 2013-12-12 10:34:53 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#8) for review on master by susant palai (spalai)

Comment 10 Anand Avati 2013-12-12 11:02:22 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#9) for review on master by susant palai (spalai)

Comment 11 Anand Avati 2013-12-12 11:06:02 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#10) for review on master by susant palai (spalai)

Comment 12 Anand Avati 2013-12-13 06:27:31 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#11) for review on master by susant palai (spalai)

Comment 13 Anand Avati 2013-12-23 09:19:46 UTC
REVIEW: http://review.gluster.org/6429 (features/marker: account directory blocks in a directory size.) posted (#12) for review on master by susant palai (spalai)

Comment 14 Kaleb KEITHLEY 2015-10-22 15:40:20 UTC
pre-release version is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.