Bug 1250735

Summary: No quota API to get real hard-limit value.
Product: [Community] GlusterFS Reporter: vnosov <vnosov>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.2CC: bugs, gluster-bugs, mselvaga, smohan, vmallika, vnosov
Target Milestone: ---Keywords: Triaged
Target Release: ---Flags: mselvaga: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1261404 1267817 (view as bug list) Environment:
Last Closed: 2015-12-04 07:06:51 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:    
Bug Blocks: 1261404, 1263075, 1267817    

Description vnosov 2015-08-05 20:49:02 UTC
Description of problem: The quota list command returns rounded hard-limit value. If it is rounded it could not be used to restore the quota configuration settings. For example, the hard-limit is set 3080MB, but the quota list returns 3.0GB as a hard-limit value. User has to maintain its own records about true hard-limit values or to use getfattr to check extended attributes.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Manikandan 2015-10-01 06:58:11 UTC
Hi,

You can check the exact available space in bytes by issuing the command, 'gluster v quota <VOLNAME> list --xml' which is fixed in 3.7.

Would you like to upgrade to 3.7 or shall we provide a hot fix for the same??

--
Thanks & Regards,
Manikandan Selvaganesh.