<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 01/18/2016 07:38 PM, Lindsay
      Mathieson wrote:<br>
    </div>
    <blockquote cite="mid:569CF1EC.4020100@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <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"
        type="cite">
        <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"
        type="cite">
        <div>Yes, there is a bug report for this @ <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="https://bugzilla.redhat.com/show_bug.cgi?id=1112158"><a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1112158">https://bugzilla.redhat.com/show_bug.cgi?id=1112158</a></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<span style="font-family:
            garamond,new york,times,serif; font-size: small;"
            data-mce-style="font-family: garamond,new york,times,serif;
            font-size: small;"><span style="color: #000000; font-style:
              normal; font-variant: normal; font-weight: normal;
              letter-spacing: normal; line-height: normal; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: 1; word-spacing: 0px;
              display: inline ! important; float: none;
              background-color: #fdfdfd;" data-mce-style="color:
              #000000; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 1;
              word-spacing: 0px; display: inline ! important; float:
              none; background-color: #fdfdfd;"></span><span
              class="Object" id="OBJ_PREFIX_DWT125_com_zimbra_url"
              style="color: #336699; text-decoration: none; cursor:
              pointer; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 1;
              word-spacing: 0px; background-color: #fdfdfd;"
              data-mce-style="color: #336699; text-decoration: none;
              cursor: pointer; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 1;
              word-spacing: 0px; background-color: #fdfdfd;"></span><span
              style="color: #000000; font-style: normal; font-variant:
              normal; font-weight: normal; letter-spacing: normal;
              line-height: normal; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 1;
              word-spacing: 0px; display: inline ! important; float:
              none; background-color: #fdfdfd;" data-mce-style="color:
              #000000; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; text-align: start; text-indent: 0px;
              text-transform: none; white-space: normal; widows: 1;
              word-spacing: 0px; display: inline ! important; float:
              none; background-color: #fdfdfd;"><span
                class="Apple-converted-space"></span></span></span>,
          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.<br>
    </blockquote>
    <br>
    Late jumping into this thread, but curious - <br>
    <br>
    Is there a specific reason that you are removing and adding a brick?
    Will replace-brick not work for you?<br>
    <br>
    <br>
    <blockquote cite="mid:569CF1EC.4020100@gmail.com" type="cite"> <br>
      Thanks,<br>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Lindsay Mathieson</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>