[Gluster-devel] Object Quotas

Atin Mukherjee amukherj at redhat.com
Mon Nov 23 14:30:42 UTC 2015


Wouldn't it be worth asking for feedback on this on gluster-users ML as
well?

~Atin

On 11/23/2015 05:30 PM, Vijaikumar Mallikarjuna wrote:
> Hi All,
> 
> We have implemented a new feature 'Object quotas' in glusterfs-3.7, this
> feature is same like 'Usage quota' and accounts on the numbers of inodes.
> The mechanism is to store count of objects (inodes: files/directories)
> as part of an extended attribute of a directory (same extended attribute
> used for usage quotas).
> Each directory's extended attribute value will indicate the number of
> objects present in a tree with the directory being considered as the
> root of the tree.
> 
> Commands supported for 'Object Quotas'
> # volume quota <VOLNAME> {limit-objects <path> <number> [<percent>]}
> # volume quota <VOLNAME> list-objects [<path>]
> # volume quota <VOLNAME> remove-objects <path>
> 
> 'Object Quota' will be enabled as part of 'gluster volume quota
> <VOLNAME> enable'. If the glusterfs is upgraded to 3.7 where is the
> quota is alreday enabled in the previous version before upgrade,
> execute below command to enable 'Object Quota':
> gluster volume inode-quota <VOLNAME> enable
> 
> 
> Please provide your feedback.
> 
> Thanks,
> Vijay
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
> 


More information about the Gluster-devel mailing list