Bug 1070623
| Summary: | Gluster Quotas implementation issue | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | gaddam.bharath23 |
| Component: | quota | Assignee: | bugs <bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | bugs, gluster-bugs, mselvaga, nlevinki, sasundar, vbellur |
| Target Milestone: | --- | Flags: | mselvaga:
needinfo+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-28 06:02:49 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: | |||
Hi,
Did you set the soft/hard timeout to zero ?
volume quota <VOLNAME> {alert-time|soft-timeout|hard-timeout} {<time>}
Refer here : https://gluster.readthedocs.org/en/latest/Administrator%20Guide/Directory%20Quota/
|
set the usage list using the following command gluster volume quota testfs01 limit-usage /bharath 100MB It also lists the same on the volume info command output as attached ~]# gluster volume info Volume Name: gv0 Type: Replicate Volume ID: 1b4b227f-656d-4d67-9b83-41e4da8aa2e5 Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: 10.15.0.134:/export/sdb1/brick Brick2: 10.15.0.135:/export/sdb1/brick Options Reconfigured: features.limit-usage: /bharath:100MB features.quota: on features.read-only: off auth.reject: none We were able to list the gluster volume usage [root@Func-l83 bharath]# gluster volume quota gv0 list path limit_set size ---------------------------------------------------------------------------------- /bharath 100MB 148.9MB After which we had copied some data on the specified directory, but the quota does not restrict copying data.