[Gluster-devel] Object Quotas
Prashanth Pai
ppai at redhat.com
Thu Nov 26 04:55:50 UTC 2015
> We have sent an upstream patch[1] that enhances the list command by showing
> used space in case of 'gluster v quota <VOLNAME> list <path>' and shows
> 'dir_count,file_count' with gluster v quota <VOLNAME> list-objects <path>'
> command even when quota limit is not set(But quota/inode-quota should be
> configured for the first time).
Would enabling quota for the volume be enough ? For an existing volume with data, When are the xattrs populated ?
>
> [1] http://review.gluster.org/#/c/12741/
Cool, thanks.
>
> > > 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>
>
> > The command "list-objects" and "remove-objects" is confusing. What it
> > really does is something like "list-object-limit" and
> > "remove-object-limit".
>
> > Yes, list-objects is to list the count, remove-objects is to remove the
> > object limit set
Can this be changed too ? From "list-objects" and "remove-objects" to "list-object-limit" and "remove-object-limit".
Thanks.
More information about the Gluster-devel
mailing list