<div dir="ltr">Hi Martin,<div><br></div><div>Accounting Mismatch in quota can be fixed with the help of the quota_fsck.py script. It is part of the source code and is present in extras/quota directory.</div><div><br></div><div>For further information as to how to use the script, you can refer to the following blog post which details the usage and the reasoning behind it's use. <a href="https://medium.com/@harigowtham/glusterfs-quota-fix-accounting-840df33fcd3a">LINK</a></div><div><br></div><div>Regards,</div><div>Srijan Sivakumar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 1, 2020 at 6:01 PM Martín Lorenzo <<a href="mailto:mlorenzo@gmail.com">mlorenzo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>We have a distributed-replicated volume running gluster 7.3. we are using directory quotas.</div><div>If we issue a quota <vol> list command, the output seems correct:</div><div>[...]</div><div>/GR/graficos 1.5TB 80%(1.2TB) 178.0GB 1.3TB No No<br>/P6/gottalent2 31.2TB 80%(25.0TB) 23.2TB 8.1TB No No<br>/P6/satelitegot 1001.0GB 80%(800.8GB) 1.0TB 0Bytes Yes Yes<br>/PN/arribagente 1000.0GB 80%(800.0GB) 711.0GB 289.0GB No No<br></div><div>[...]</div><div><br></div><div><br></div><div>However if we issue a quota list command for a particular directory, the output is wrong:</div><div>gluster volume quota tapeless list /P6/gottalent2<br> Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?<br>-------------------------------------------------------------------------------------------------------------------------------<br>/P6/gottalent2 31.2TB 80%(25.0TB) 40.2TB 0Bytes Yes Yes<br></div><div><br></div><div>Any ideas?</div><div>Thanks,</div><div>Martin</div><div><br></div><div><br></div></div>
________<br>
<br>
<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Thanks and Regards,<br><p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SRIJAN SIVAKUMAR</span><span></span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Associate Software Engineer</span></p>
<p style="font-weight:normal;margin:0px;font-size:10px;color:rgb(153,153,153)"><a style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:overpass,sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br></span></a></p><p style="font-weight:normal;margin:0px;font-size:10px;color:rgb(153,153,153)"><a style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:overpass,sans-serif" href="https://www.redhat.com" target="_blank"><span><br></span></a></p>
<p style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)">
<span href="tel:+91-8067935170">T: <a href="http://redhatemailsignature-marketing.itos.redhat.com/" style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:overpass,sans-serif" target="_blank">+91-9727532362</a> </span>
</p>
<a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a>
<div><a href="https://redhat.com/trusted" style="text-decoration:none;color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></div></div>