Bug 1271184
| Summary: | quota : display the size equivalent to the soft limit percentage in gluster v quota <volname> list* command | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Manikandan <mselvaga> |
| Component: | quota | Assignee: | Manikandan <mselvaga> |
| Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rhgs-3.1 | CC: | asrivast, bmohanra, byarlaga, nchilaka, rhs-bugs, sankarshan, smohan, storage-qa-internal, vmallika |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.5-5 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, only the soft limit was shown in percentage with 'gluster v quota <volname> list' command. With this fix, the remaining usable value in size is also displayed.
|
Story Points: | --- |
| Clone Of: | 1248521 | Environment: | |
| Last Closed: | 2016-03-01 05:38:39 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: | 1248521 | ||
| Bug Blocks: | 1255644, 1260783 | ||
|
Description
Manikandan
2015-10-13 10:53:00 UTC
gave ack, as the merge failed without ack and tiering code merge was getting affected without this merge Patch upstream: http://review.gluster.org/11808, http://review.gluster.org/12337 Release 3.7 : http://review.gluster.org/11977 http://review.gluster.org/12338 [root@localhost ~]# gluster v quota testvol list
Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/ 10.0GB 80%(8.0GB) 0Bytes 10.0GB No No
/test 100.0GB 80%(80.0GB) 0Bytes 100.0GB No No
Modifying soft-limit percentage
====================================================
[root@localhost ~]# gluster v quota testvol default-soft-limit 70
volume quota : success
[root@localhost ~]# gluster v quota testvol list
Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/ 10.0GB 70(7.0GB) 0Bytes 10.0GB No No
/test 100.0GB 70(70.0GB) 0Bytes 100.0GB No No
[root@localhost ~]# gluster v quota testvol limit-usage /test1 100MB
volume quota : success
[root@localhost ~]# gluster v quota testvol list
Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/ 10.0GB 70(7.0GB) 0Bytes 10.0GB No No
/test 100.0GB 70(70.0GB) 0Bytes 100.0GB No No
/test1 100.0MB 70(70.0MB) 0Bytes 100.0MB No No
Bug verified on build glusterfs-3.7.5-6.el7rhgs.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html |