<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>Correction. The option needs to be enabled and not disabled.<br></div><div><br></div><div># gluster volume set &lt;VOL&gt; performance.strict-write-ordering on<br></div><div><br></div><div>-Krutika<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>To: </b>"Lindsay Mathieson" &lt;lindsay.mathieson@gmail.com&gt;<br><b>Cc: </b>"gluster-users" &lt;gluster-users@gluster.org&gt;<br><b>Sent: </b>Tuesday, November 3, 2015 9:52:59 AM<br><b>Subject: </b>Re: [Gluster-users] Shard file size (gluster 3.7.5)<br><div><br></div><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>Could you try this again with performance.strict-write-ordering set to 'off'?<br></div><div><br></div><div># gluster volume set &lt;VOL&gt; performance.strict-write-ordering off<br></div><div><br></div><div>-Krutika<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Lindsay Mathieson" &lt;lindsay.mathieson@gmail.com&gt;<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;, "gluster-users" &lt;gluster-users@gluster.org&gt;<br><b>Sent: </b>Tuesday, November 3, 2015 7:26:41 AM<br><b>Subject: </b>Re: [Gluster-users] Shard file size (gluster 3.7.5)<br><div><br></div><div dir="ltr"><div><div>I can reproduce this 100% reliably, just by coping files onto a gluster volume. Reported File size&nbsp; is always larger, sometimes radically so. If I copy the file again, the reported file is different each time.<br><div><br></div></div>using cmp I found that the file contents match, up to the size of the original file.<br><div><br></div></div>MD5SUMS probably differ because of the different file sizes.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2015 at 18:49, Krutika Dhananjay <span dir="ltr">&lt;<a href="mailto:kdhananj@redhat.com" target="_blank">kdhananj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:garamond,new york,times,serif;font-size:12pt;color:#000000"><div>Could you share</div><div>(1) the output of 'getfattr -d -m . -e hex &lt;path&gt;' where &lt;path&gt; represents the path to the original file from the brick where it resides<br></div><div>(2)&nbsp; the size of the file as seen from the mount point around the time when (1) is taken<br></div><div>(3) output of 'gluster volume info'<br></div><div><br></div><div>-Krutika<br></div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Lindsay Mathieson" &lt;<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>&gt;<br><b>To: </b>"gluster-users" &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&gt;<br><b>Sent: </b>Sunday, November 1, 2015 6:29:44 AM<br><b>Subject: </b>[Gluster-users] Shard file size (gluster 3.7.5)<div><div class="h5"><br><div><br></div><div><p class="MsoNormal">Have upgraded my cluster to debian jessie, so able to natively test 3.7.5</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">I’ve noticed some peculiarities with reported file sizes on the gluster mount but I seem to recall this is a known issue with shards?</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">Source file is sparse, nominal size 64GB, real size 25GB. However underlying storage is ZFS with lz4 compression which reduces it to 16GB</p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">&nbsp;</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">No Shard:</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">ls –lh&nbsp;&nbsp;&nbsp;&nbsp; : 64 GB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">du –h &nbsp;&nbsp;&nbsp;&nbsp; : 25 GB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">&nbsp;</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">4MB Shard:</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">ls –lh&nbsp;&nbsp;&nbsp;&nbsp; : 144 GB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">du –h &nbsp;&nbsp;&nbsp;&nbsp; : 21 MB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">&nbsp;</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">512MB Shard:</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">ls –lh&nbsp;&nbsp;&nbsp;&nbsp; : 72 GB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">du –h &nbsp;&nbsp;&nbsp;&nbsp; : 765 MB</span></p><p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">&nbsp;</span></p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">a du –sh of the .shard directory show 16GB for all datastores</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">Is this a known bug for sharding? Will it be repaired eventually?</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">Sent from <a href="http://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a> for Windows 10</p></div><br></div></div>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br><a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote><div><br></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Lindsay</div></div></blockquote><div><br></div></div><br>_______________________________________________<br>Gluster-users mailing list<br>Gluster-users@gluster.org<br>http://www.gluster.org/mailman/listinfo/gluster-users</blockquote><div><br></div></div></body></html>