<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/07/2014 09:40 PM, Alun James
      wrote:<br>
    </div>
    <blockquote cite="mid:2d85c83b-17cc-4c02-b73a-ab09266ed554@bossk"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: Arial; font-size: 10pt; color: #000000"><font
          face="Arial" size="2">Hi folks,</font>
        <div style="color: rgb(0, 0, 0); font-family: Arial; font-size:
          10pt;"><br>
        </div>
        <div><font face="Arial" size="2">I had a 2 node (1 brick each)
            replica, some network meltdown issues seemed to cause
            problems with second node (server02).&nbsp;glusterfsd
            process&nbsp;reaching&nbsp;200-300% and errors relating to split brain
            possibilities and self heal errors.</font></div>
        <div><font face="Arial" size="2"><br>
          </font></div>
        <div><font face="Arial" size="2">Original volume info:</font></div>
        <div><font face="Arial" size="2"><br>
          </font></div>
        <div><font face="Arial" size="2"><i>Volume Name: myvol</i></font></div>
        <div><font face="Arial" size="2">
            <div><i>Type: Replicate</i></div>
            <div><i>Status: Started</i></div>
            <div><i>Number of Bricks: 2</i></div>
            <div><i>Transport-type: tcp</i></div>
            <div><i>Bricks:</i></div>
            <div><i>Brick1: server01:/brick1</i></div>
            <div><i>Brick2: server02:/brick1</i></div>
            <div><br>
            </div>
          </font></div>
        <div><span style="font-family: Arial; font-size: small;">I
            removed the second brick (that was showing server problems).</span></div>
        <div><font face="Arial" size="2"><br>
          </font></div>
        <div><font face="Arial" size="2"><i>gluster volume remove-brick
              myvol replica 1 server02:/brick1</i></font></div>
        <div><font face="Arial" size="2"><i><br>
            </i></font></div>
        <div><font face="Arial" size="2">Now the volume status is:</font></div>
        <div><font face="Arial" size="2"><br>
          </font></div>
        <div><font face="Arial" size="2">
            <div><i>Volume Name: tsfsvol0</i></div>
            <div><i>Type: Distribute</i></div>
            <div><i>Status: Started</i></div>
            <div><i>Number of Bricks: 1</i></div>
            <div><i>Transport-type: tcp</i></div>
            <div><i>Bricks:</i></div>
            <div><i>Brick1: server01:/brick1</i></div>
            <div><i><br>
              </i></div>
            <div>All is fine and the data on working server is sound.</div>
            <div><br>
            </div>
            <div>The xfs partition for&nbsp;<i>server02:/brick1</i>&nbsp;has been
              formatted and therefore the data gone. All other gluster
              config data has remained untouched. Can I re-add the
              second server to the volume with an empty brick and the
              data will auto replicate over from the working server?</div>
            <div><br>
            </div>
            <div><i>gluster volume add-brick myvol replica 2
                server2:/brick1 ??</i></div>
          </font><font face="Arial" size="2">
            <div><br>
            </div>
          </font></div>
      </div>
    </blockquote>
    <br>
    <font size="2"><font face="Arial">Yes this should work fine. You
        will need to run a&nbsp; `gluster volume heal myvol full` to manually
        trigger the replication.</font></font><br>
    <br>
    <blockquote cite="mid:2d85c83b-17cc-4c02-b73a-ab09266ed554@bossk"
      type="cite">
      <div style="font-family: Arial; font-size: 10pt; color: #000000"><br>
        <div style="color: rgb(0, 0, 0); font-family: Arial; font-size:
          10pt;"><br>
          <br>
          <div><span name="x"></span><font face="arial, helvetica,
              sans-serif" size="2">ALUN JAMES<br>
              <font>Senior Systems Engineer</font><br>
              <font>Tibus</font><br>
              <br>
              <font>T: +44 (0)28 9033 1122</font><br>
              <font>E: <a class="moz-txt-link-abbreviated" href="mailto:ajames@tibus.com">ajames@tibus.com</a></font><br>
              <font>W: </font><a moz-do-not-send="true"
                href="http://www.tibus.com">www.tibus.com</a><br>
              <br>
              <font>Follow us on Twitter </font><a
                moz-do-not-send="true"
                href="http://twitter.com/intent/user?screen_name=tibus">@tibus</a><br>
              <br>
              <font>Tibus is a trading name of The Internet Business
                Ltd, a company limited by share capital and registered
                in Northern Ireland, NI31325. It is part of UTV Media
                Plc.</font><br>
              <br>
              <font>This email and any attachment may contain
                confidential information for the sole use of the
                intended recipient. Any review, use, distribution or
                disclosure by others is strictly prohibited. If you are
                not the intended recipient (or authorised to receive for
                the recipient), please contact the sender by reply email
                and delete all copies of this message. &nbsp; &nbsp; </font></font><span
              name="x"></span><br>
          </div>
        </div>
      </div>
      <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://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>