| Summary: | [Engineering Consult] Glusterfs 3.2 Volume Quota Feature | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Mark Brooke <mark> |
| Component: | core | Assignee: | Anand Avati <aavati> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.1.0 | CC: | amarts, chrisw, gluster-bugs, renee |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Mark Brooke
2011-04-29 23:19:15 UTC
Hi Mark, Sorry for making it not very clear in documentation or in training. All quota paths you set are relative path to the volume. Ie, if you set quota limit on '/mnt/glusterfs' in a 'test-volume' then if you mount 'test-volume' on client in /mnt/glusterfs/, actually, quota limit will be set on '/mnt/glusterfs/mnt/glusterfs' and not on the mount point itself. If you want to set the quota limit to whole volume, please use '/' as the path for setting the limit. Please confirm if it works, so we can close the bug. Hi Amar, Thank you for the information. I'm still not very clear on this. 1). I have a replicated volume named 'rep1' and the bricks are set to: 192.168.111.129:/rep1 & 192.168.111.139:/rep1. 2). After starting the volume I set the quota as 'gluster volume quota rep1 limit-usage /mnt/quotatest 100MB (based on what's documented and your comments) The quota comes back 'as set' yet I still cannot list the quota. 3). Can you please tell me how I can list the quota for /rep1/mnt/quotatest? Mark Additional Information on rep1 volume: Volume Name: rep1 Type: Replicate Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: 192.168.111.129:/mnt/rep1 Brick2: 192.168.111.139:/mnt/rep1 Options Reconfigured: features.limit-usage: /mnt/quotatest:100MB <-- features.quota: on [root@n01 mnt]# gluster volume quota rep1 list /mnt/quotatest [root@n01 mnt]# Amar, You can close this bug. With Harsha's help it was determined that: 1). I was using NFS mount (not glusterfs) which doesn't support extended attributes. 2). Directories were created on the back-end. It's a lot more clear to me now. Thank you, Mark |