Bug 1250735 - No quota API to get real hard-limit value.
Summary: No quota API to get real hard-limit value.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.6.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Manikandan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1261404 1263075 1267817
TreeView+ depends on / blocked
 
Reported: 2015-08-05 20:49 UTC by vnosov
Modified: 2016-09-20 04:28 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 1261404 1267817 (view as bug list)
Environment:
Last Closed: 2015-12-04 07:06:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:
mselvaga: needinfo-


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.