<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><div>Hi,</div><div>Thank you for your help.</div><div>My glusterfs version is 3.7.6.</div><div><span style="line-height: 23.8px;">Must 'heal-full' be executed on the node with the highest uuid in glusterfs 3.7.6.</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">Does&nbsp;</span><span style="line-height: 23.8px;">glusterfs 3.7.8 have fixed this problem?Or there is no patch for it?</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">Thanks,</span></div><div><span style="line-height: 23.8px;">Xin</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><br></div><div><br></div><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2016-03-15 22:16:39, "Krutika Dhananjay" &lt;kdhananj@redhat.com&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><div><div>Joe,<br><br></div>There is an open bug already: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1112158">https://bugzilla.redhat.com/show_bug.cgi?id=1112158</a><br><br></div>-Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 7:22 PM, Joe Julian <span dir="ltr">&lt;<a href="mailto:joe@julianfamily.org" target="_blank">joe@julianfamily.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>What? That's poor behavior. I'll open a bug on that. We have a network of management daemons that should be able to coordinate that on their own.<div><div class="h5"><br><br><div class="gmail_quote">On March 14, 2016 8:43:56 PM PDT, Krutika Dhananjay &lt;<a href="mailto:kdhananj@redhat.com" target="_blank">kdhananj@redhat.com</a>&gt; wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div><div><div>Yes.&nbsp;<span style="line-height: 23.8px;">'heal-full' should be executed on the node with the highest uuid.</span><br><br></div>Here's how i normally figure out what uuid is the highest:<br></div>Put all the nodes' uuids in a text file, one per line, sort them and get the last uuid from the list.<br><br></div><div>To be more precise:<br></div>On any node, you can get the uuids of the peers through `gluster peer status` output.<br></div><div>Gather them all and put them in a file.<br></div><div>Next, in order to get the uuid of the node where you executed peer status itself, you use the command `gluster system:: uuid get`<br></div><div>Put this uuid as well into the text file.<br><br></div><div>Now execute<br></div><div># cat &lt;text-file-path&gt; | sort <br><br></div><div>The last uuid printed in this list is the one that corresponds to the highest uuid in the cluster.<br><br></div><div>HTH,<br></div><div>Krutika<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 12:49 PM, songxin <span dir="ltr">&lt;<a href="mailto:songxin_1980@126.com" target="_blank">songxin_1980@126.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 style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>I have create a replicate volume and I want &nbsp;to run "gluster volume heal gv0 full".</div><div><br></div><div>I found that if I run "gluster volume heal gv0 full" on one board it always output err like below.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Launching heal operation to perform full self heal on volume gv0 has been unsuccessful</div><div><br></div><div>But If I run "heal full " on the another board it alway sucessful.</div><div><br></div><div>I found the code of glusterfs as &nbsp;below.</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; if (gf_uuid_compare (brickinfo-&gt;uuid, candidate) &gt; 0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gf_uuid_copy (candidate, brickinfo-&gt;uuid);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ((*index) % hxl_children == 0) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!gf_uuid_compare (MY_UUID, candidate)) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _add_hxlator_to_dict (dict, volinfo,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ((*index)-1)/hxl_children,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (*hxlator_count));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (*hxlator_count)++;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gf_uuid_clear (candidate);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div></div><div><br></div><div><span style="line-height:23.8px">My question is
below:</span></div><div><span style="line-height:23.8px">Must I run "heal full" on the board whose uuid is the biggest?</span></div><div><span style="line-height:23.8px">If so, how cound I know which is the biggest board before I try to run "heal full" on every board?</span></div><div><span style="line-height:23.8px"><br></span></div><div><span style="line-height:23.8px">Thanks,</span></div><div><span style="line-height:23.8px">Xin</span></div><div><br></div><div><br></div><div><br></div><div><span style="line-height:1.7">&nbsp;</span></div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span><br>_______________________________________________<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" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p><pre><hr><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></pre></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div></blockquote></div><br></div>
</blockquote></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>