<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div><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;<br><b>Cc: </b>"gluster-users" &lt;gluster-users@gluster.org&gt;<br><b>Sent: </b>Monday, January 18, 2016 7:38:44 PM<br><b>Subject: </b>Re: [Gluster-users] Issues removing then adding a brick to a replica volume (Gluster 3.7.6)<br><div><br></div><div class="moz-cite-prefix">On 18/01/2016 10:24 PM, Krutika
      Dhananjay wrote:<br></div><blockquote cite="mid:1689369024.6494444.1453119887191.JavaMail.zimbra@redhat.com"><div>Heal _is_ necessary when you add a brick that changes the
        replica count from n to (n+1). Now the new brick that is also
        part of the existing replica set is lagging with respect to the
        existing bricks<br></div><div>and needs to be brought in sync with these. All files and
        directories in vna and/or vnb will be healed to vng in your
        case.<br></div></blockquote><br>
    Yes I realise that :)<br><br>
    I was under the impression that heal info lists the files that are
    the src of the heal, e.g all the files on vna &amp; vnb. <br><br>
    vng which is blank would only be receiving files.<br><br><blockquote cite="mid:1689369024.6494444.1453119887191.JavaMail.zimbra@redhat.com"><div>Yes, there is a bug report for this @ <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1112158" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1112158</a>.</div><div>The workaround, like you yourself figured, is to run the
        command on the node with the highest uuid.</div><div>Steps:</div><div>1) Collect output of `cat /var/lib/glusterd/glusterd.info |
        grep UUID` from each of the nodes,
        perhaps into a file named 'uuid.txt'.<br></div><div>2) cat uuid.txt | sort<br></div><div>3) Pick the last gfid.<br></div><div>4) find out which of the glusterd.info files has the same
        uuid as this selected uuid.<br></div><div>5) Run 'heal info full' on that same node.<br></div><div><br></div></blockquote><br>
    Will do.<br><br>
    And I still have the problem with the files becoming unreadable when
    adding a brick.</blockquote><div><br></div><div>What do you mean by files becoming unreadable? Could you throw some light on this? Do you have the client logs?<br></div><div><br></div><div>-Krutika<br></div><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;"><br><br>
    Thanks,<br><br><br><pre class="moz-signature">-- 
Lindsay Mathieson</pre></blockquote><div><br></div></div></body></html>