<div dir="ltr"><div><div><div><div>Yes. &#39;heal-full&#39; should be executed on the node with the highest uuid.<br><br></div>Here&#39;s how i normally figure out what uuid is the highest:<br></div>Put all the nodes&#39; 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  to run &quot;gluster volume heal gv0 full&quot;.</div><div><br></div><div>I found that if I run &quot;gluster volume heal gv0 full&quot; on one board it always output err like below.</div><div>         Launching heal operation to perform full self heal on volume gv0 has been unsuccessful</div><div><br></div><div>But If I run &quot;heal full &quot; on the another board it alway sucessful.</div><div><br></div><div>I found the code of glusterfs as  below.</div><div><br></div><div><div>                if (gf_uuid_compare (brickinfo-&gt;uuid, candidate) &gt; 0)</div><div>                        gf_uuid_copy (candidate, brickinfo-&gt;uuid);</div><div><br></div><div>                if ((*index) % hxl_children == 0) {</div><div>                        if (!gf_uuid_compare (MY_UUID, candidate)) {</div><div>                                _add_hxlator_to_dict (dict, volinfo,</div><div>                                                      ((*index)-1)/hxl_children,</div><div>                                                      (*hxlator_count));</div><div>                                (*hxlator_count)++;</div><div>                        }</div><div>                        gf_uuid_clear (candidate);</div><div>                }</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 &quot;heal full&quot; 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 &quot;heal full&quot; 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"> </span></div></div><br><br><span title="neteasefooter"><p> </p></span><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">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>