<div dir="ltr"><div><div>So the corruption bug is seen iff your vms are online while fix-layout and/or rebalance is going on.<br></div><div>Does that answer your question?<br><br></div>The same issue has now been root-caused and there will be a fix for it soon by Raghavendra G.<br><br></div>-Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 6:44 PM, Alessandro Briosi <span dir="ltr"><<a href="mailto:ab1@metalit.com" target="_blank">ab1@metalit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Il 01/04/2017 04:22, Gambit15 ha scritto:<br>
> As I understand it, only new files will be sharded, but simply<br>
> renaming or moving them may be enough in that case.<br>
><br>
> I'm interested in the arbiter/sharding bug you've mentioned. Could you<br>
> provide any more details or a link?<br>
><br>
<br>
</span>I think it is triggered only on rebalance.<br>
<br>
Though I have still no idea if adding an arbiter afterwards needs<br>
rebalance or not, and as this should only write file refernce (and no<br>
data) on the arbiter, this should not touch anything on the data side. I<br>
though wanted to be sure before doing this on a production environment.<br>
<br>
The bug has been discussed in the mailing list. There are a couple of<br>
patches that went into 3.8.10<br>
<br>
<a href="https://review.gluster.org/#/c/16749/" rel="noreferrer" target="_blank">https://review.gluster.org/#/<wbr>c/16749/</a><br>
<a href="https://review.gluster.org/#/c/16750/" rel="noreferrer" target="_blank">https://review.gluster.org/#/<wbr>c/16750/</a><br>
<br>
though I'm not sure this solved the problem or not.<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1387878" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1387878</a><br>
<br>
If you look at the mailing list archive you can find more information on<br>
this.<br>
<br>
Currently I'm not using shardin, though as I'm using gluster to host VM<br>
in case of some problems to one of the hosts healing would require lots<br>
of CPU and time to recover the files.<br>
Sharding should solve this, but I'd rather wait the time for it to heal,<br>
then have to go through a restore from a backup cause there was data<br>
corruption.<br>
<br>
Any hint would really be appreciated.<br>
<div class="HOEnZb"><div class="h5"><br>
Alessandro<br>
<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>