Bug 921302

Summary: Can't set quota for a mounted volume
Product: [Community] GlusterFS Reporter: Nux <nux>
Component: cliAssignee: vpshastry <vshastry>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.4.0-alphaCC: gluster-bugs, ndevos, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-11 15:46: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:

Description Nux 2013-03-14 00:09:25 UTC
Description of problem:
If I mount a volume on one of the servers and then try to enable quota on it it will say the quota command has failed.
It looks like gluster tries to mount the volume again in /tmp/randomBlah while setting the quota because "mount" will show it later on.
While I can easily mount the same volume multiple times, something goes wrong in this situation; not sure what gluster does in the background.

Version-Release number of selected component (if applicable):
3.4.0 alpha2

How reproducible:
always

Steps to Reproduce:
1. on one of the servers mount a volume
2. set quota on volume

  
Actual results:
opeation failed

Expected results:
quota command should return successfull

Additional info:
I can provide full logs if needed, but looks like very easy to repeat for anyone with a 3.4.0 alpha2 setup.

This problem does not exist in 3.3.1 afaik.

Comment 1 vpshastry 2013-04-22 11:54:23 UTC
CHANGE http://review.gluster.org/4680/ has the solution for this.

Comment 2 Niels de Vos 2014-07-11 15:46:56 UTC

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