Object Quotas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux