-
Notifications
You must be signed in to change notification settings - Fork 54
Setting quota on directories
Sachidananda Urs edited this page Jul 2, 2018
·
1 revision
Quota can be set on the directories on a GlusterFS volume. An example playbook looks like:
---
- hosts: ganesha_master
remote_user: root
gather_facts: no
tasks:
- gluster_volume:
state: present
name: ganeshavol
directory: /foo
quota: 100MB
To set quota on a sub-directory:
---
- hosts: ganesha_master
remote_user: root
gather_facts: no
tasks:
- gluster_volume:
state: present
name: ganeshavol
directory: /bar/bing
quota: 500MB