<div dir="ltr">Hi Guys,<div><br></div><div>I am using gluster 3.5.2 and for couple of directories I am getting used space as 16384.0 PB</div><div><br></div><div><p style="margin:0px;font-size:12px;font-family:Menlo"> node1:~# gluster volume quota homedir list |grep PB</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">/storage/home1                          3.0GB       90%   16384.0PB   3.0GB</p><p style="margin:0px;font-size:12px;font-family:Menlo">
</p><p style="margin:0px;font-size:12px;font-family:Menlo">/storage/home2                             1.0GB       90%   16384.0PB   1.0GB</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">DU on actual directory</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">node1:~#  du -hs /data/storage/home1/</p><p style="margin:0px;font-size:12px;font-family:Menlo">
</p><p style="margin:0px;font-size:12px;font-family:Menlo">368K    /data/storage/home1/</p><p style="margin:0px;font-size:12px;font-family:Menlo">

</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">node1:~#  du -hs /data/storage/home2</p><p style="margin:0px;font-size:12px;font-family:Menlo">
</p><p style="margin:0px;font-size:12px;font-family:Menlo">546K    /data/storage/home2</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">I am using replicated volume (replica count 2) and mounted volume as nfs. Individual bricks are formatted as ext4. If I remove quotas and restart replicated volume and then re-add quotas then gluster quota shows correct value (instead of 16384.0 PB) but once file transfer starts and files are added/deleted again these directories start showing incorrect values. </p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">Just wanted to check if this is a bug in gluster quota and/or if there is any way to mitigate this?</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">I do see a similar bug but for 3.4</p><p style="margin:0px;font-size:12px;font-family:Menlo"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1061068">https://bugzilla.redhat.com/show_bug.cgi?id=1061068</a><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo">Thanks</p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><p style="margin:0px;font-size:12px;font-family:Menlo"><br></p><div><br></div><p style="margin:0px;font-size:12px;font-family:Menlo"> </p></div><div><p style="margin:0px;font-size:12px;font-family:Menlo"></p><p style="margin:0px;font-size:12px;font-family:Menlo"> </p></div></div>