<div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div>Hi,<br><br></div>Thanks for letting us know. <br></div>It is a mistake in the doc. will fix it.<br><br></div>It should be as follows:<br>You can set the disk limit on the directory even if files are not created.<br>The disk limit is enforced for all the files in that directory once they are created.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 14, 2018 at 11:35 AM Davide Obbi <<a href="mailto:davide.obbi@booking.com">davide.obbi@booking.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Here:<div><a href="https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/" target="_blank">https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/</a><br></div><div><br></div><div>Kr</div><div>Davide</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 14, 2018 at 7:12 AM Hari Gowtham <<a href="mailto:hgowtham@redhat.com" target="_blank">hgowtham@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Can you point to the right place in doc where it is mentioned as above?<br>
Need to understand the context in which it was mentioned.<br>
<br>
As far as I know, it is not possible to do so.<br>
Quota's limits are stored on the directory itself.<br>
Without the directory being there quota can't store the limit for<br>
future directories.<br>
<br>
<br>
On Thu, Sep 13, 2018 at 4:48 PM Davide Obbi <<a href="mailto:davide.obbi@booking.com" target="_blank">davide.obbi@booking.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> According to glusterdoc:<br>
><br>
> Note You can set the disk limit on the directory even if it is not created. The disk limit is enforced immediately after creating that directory.<br>
> However if i try to set the limit on direcotries not exsiting on the volume i get:<br>
><br>
> quota command failed : Failed to get trusted.gfid attribute on path /rhomes/davide. Reason : No such file or directory<br>
> please enter the path relative to the volume<br>
><br>
> glusterfs 4.1.2<br>
><br>
> Based on this i hoped that would be possible to create some sort of wildcard quota like:<br>
><br>
> gluster volume quota homes limit-usage /rhomes/* 20GB<br>
><br>
><br>
> _______________________________________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
> <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
<br>
<br>
-- <br>
Regards,<br>
Hari Gowtham.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-6936182436905632423gmail_signature" data-smartmail="gmail_signature"><span style="display:block;font-size:11.0pt;font-family:Century Gothic;color:#003580"><div style="color:rgb(0,53,128);font-family:Arial,Helvetica,sans-serif;font-weight:bold;font-size:15px"><div>Davide Obbi</div><div style="font-weight:normal;font-size:13px;color:rgb(0,174,239)">System Administrator<br><br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)">Booking.com B.V.<br>Vijzelstraat 66-80 Amsterdam 1017HL Netherlands</div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><span style="color:rgb(0,174,239)">Direct </span>+31207031558<br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><div style="font-weight:bold;font-size:16px;color:rgb(0,53,128)"><a href="https://www.booking.com/" style="color:rgb(0,127,255);background-image:initial;background-position:initial;background-repeat:initial" target="_blank"><img src="https://bstatic.com/static/img/siglogo.jpg" alt="Booking.com" title="Booking.com"></a></div><span style="font-size:11px">The world's #1 accommodation site <br>43 languages, 198+ offices worldwide, 120,000+ global destinations, 1,550,000+ room nights booked every day <br>No booking fees, best price always guaranteed <br></span><span style="font-size:11px">Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)</span><span style="font-size:11px"><br></span></div></div></span></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Hari Gowtham.</div>