<p dir="ltr">Hi All,</p>
<p dir="ltr">We have implemented a new feature &#39;Object quotas&#39; in glusterfs-3.7, this feature is same like &#39;Usage quota&#39; and accounts on the numbers of inodes.</p>
<p dir="ltr">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).</p>
<p dir="ltr">Each directory&#39;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.</p>
<p dir="ltr">Commands supported for &#39;Object Quotas&#39;</p>
<p dir="ltr"># volume quota &lt;VOLNAME&gt; {limit-objects &lt;path&gt; &lt;number&gt; [&lt;percent&gt;]}</p>
<p dir="ltr"># volume quota &lt;VOLNAME&gt; list-objects [&lt;path&gt;]</p>
<p dir="ltr"># volume quota &lt;VOLNAME&gt; remove-objects &lt;path&gt;</p>
<p dir="ltr">&#39;Object Quota&#39; will be enabled as part of &#39;gluster volume quota &lt;VOLNAME&gt; enable&#39;. If the glusterfs is upgraded to 3.7 where is the quota is alreday enabled in the previous version before upgrade,</p>
<p dir="ltr">execute below command to enable &#39;Object Quota&#39;:</p>
<p dir="ltr">gluster volume inode-quota &lt;VOLNAME&gt; enable</p>
<p dir="ltr">Please provide your feedback.</p>
<p dir="ltr">Thanks,</p>
<p dir="ltr">Vijay</p>