<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Omar,</tt><tt><br>
</tt><tt><br>
</tt><tt>We will run this test-case in our lab machines. </tt><tt><br>
</tt><tt>Meanwhile can you provide the brick logs and execute the
attached script for each brick-path, and provide the output from
the script</tt><tt><br>
</tt><tt><br>
</tt><tt>Thanks,</tt><tt><br>
</tt><tt>Vijay</tt><tt><br>
</tt><br>
<br>
<div class="moz-cite-prefix">On Tuesday 03 February 2015 08:06 AM,
Omkar Kulkarni wrote:<br>
</div>
<blockquote
cite="mid:CAAwp6hkkDPpASw8TDXrJAULh7jporMUpH+f_itdz2H-tVisjOg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Vijay,
<div><br>
</div>
<div>I was recreate the issue. </div>
<div>1) Create a replicated volume with 2 CentOS 6.5 machines </div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:12px;font-family:Menlo">i)gluster
volume create homedir replica 2 transport tcp
node1:/brick1/homedir node2:/brick1/homedir</p>
<p style="margin:0px;font-size:12px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir network.ping-timeout 10</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir performance.cache-size 1GB</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir nfs.rpc-auth-allow
10.99.30.20,10.99.30.21</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir auth.allow 10.99.30.20,10.99.30.21</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir features.quota on</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir features.quota-timeout 0</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">gluster
volume set homedir features.quota-deem-statfs on</p>
<p style="margin:0px;font-size:12px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">ii)
setup quotas on around 900 folders</p>
<p style="margin:0px;font-size:12px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">node1:~#
gluster volume quota homedirlist |wc -l</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">903</p>
<p style="margin:0px;font-size:12px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">iii)
Created a rsync to create/delete files with different names
in 20 different folders and ran every 2 minutes</p>
<p style="margin:0px;font-size:12px;font-family:Menlo">iv) in
Around 2 days some directories showed PB in files used</p>
<p style="margin:0px;font-size:12px;font-family:Menlo"><br>
</p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 23, 2015 at 1:01 AM,
Vijaikumar M <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:vmallika@redhat.com" target="_blank">vmallika@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Omar,</tt><tt><br>
</tt><tt><br>
</tt><tt>If the issue is happening consistently, can we
get a re-creatable test-case for this same?</tt><tt><br>
</tt><tt><br>
</tt><tt>Thanks,</tt><tt><br>
</tt><tt>Vijay<br>
<br>
</tt>
<div>
<div class="h5"><br>
<div>On Wednesday 21 January 2015 02:47 AM, Omkar
Kulkarni wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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
moz-do-not-send="true"
href="https://bugzilla.redhat.com/show_bug.cgi?id=1061068"
target="_blank">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>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>