[Bugs] [Bug 1263075] No quota API to get real hard-limit value.

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 17 09:54:43 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1263075

Anil Shah <ashah at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #4 from Anil Shah <ashah at redhat.com> ---

[root at localhost ~]# gluster v quota vol0 limit-usage /  20GB
volume quota : success
[root at localhost ~]# gluster v quota vol0 list --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volQuota>
    <limit>
      <path>/test</path>
      <hard_limit>10737418240</hard_limit>
      <soft_limit_percent>80%</soft_limit_percent>
      <soft_limit_value>8589934592</soft_limit_value>
      <used_space>10737418240</used_space>
      <avail_space>0</avail_space>
      <sl_exceeded>Yes</sl_exceeded>
      <hl_exceeded>Yes</hl_exceeded>
    </limit>
    <limit>
      <path>/</path>
      <hard_limit>21474836480</hard_limit>
      <soft_limit_percent>80%</soft_limit_percent>
      <soft_limit_value>17179869184</soft_limit_value>
      <used_space>10737418240</used_space>
      <avail_space>10737418240</avail_space>
      <sl_exceeded>No</sl_exceeded>
      <hl_exceeded>No</hl_exceeded>
    </limit>
  </volQuota>
</cliOutput>
[root at localhost ~]# gluster v quota vol0 list
                  Path                   Hard-limit  Soft-limit      Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/test                                     10.0GB     80%(8.0GB)   10.0GB 
0Bytes             Yes                  Yes
/                                         20.0GB     80%(16.0GB)   10.0GB 
10.0GB              No                   No


bug verified on build on build glusterfs-3.7.5-6.el7rhgs.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MfZhTt0XrB&a=cc_unsubscribe


More information about the Bugs mailing list