<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Follow the steps at:<br>
<a class="moz-txt-link-freetext" href="http://gluster.readthedocs.org/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick">http://gluster.readthedocs.org/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick</a><br>
    <br>
    Read the steps at section:<br>
    "Replacing brick in Replicate/Distributed Replicate volumes".<br>
    <br>
    We are working on making all the extra steps vanish and just one
    command will take care of everything going forward. Will update
    gluster-users once that happens.<br>
    <br>
    Pranith<br>
    <br>
    <div class="moz-cite-prefix">On 10/09/2015 12:50 AM, Gene Liverman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ3HbYbPL5jYjpgEAERKrO-=V=J2QvurwG0AgeaKdxUKqQ5yXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">So... this kinda applies to me too and I want to
        get some clarification: I have the following setup
        <div><br>
        </div>
        <div>
          <div><font face="monospace, monospace"># gluster volume info</font></div>
          <div><font face="monospace, monospace"><br>
            </font></div>
          <div><font face="monospace, monospace">Volume Name: gv0</font></div>
          <div><font face="monospace, monospace">Type: Replicate</font></div>
          <div><font face="monospace, monospace">Volume ID:
              fc50d049-cebe-4a3f-82a6-748847226099</font></div>
          <div><font face="monospace, monospace">Status: Started</font></div>
          <div><font face="monospace, monospace">Number of Bricks: 1 x 3
              = 3</font></div>
          <div><font face="monospace, monospace">Transport-type: tcp</font></div>
          <div><font face="monospace, monospace">Bricks:</font></div>
          <div><font face="monospace, monospace">Brick1:
              eapps-gluster01:/export/sdb1/gv0</font></div>
          <div><font face="monospace, monospace">Brick2:
              eapps-gluster02:/export/sdb1/gv0</font></div>
          <div><font face="monospace, monospace">Brick3:
              eapps-gluster03:/export/sdb1/gv0</font></div>
          <div><font face="monospace, monospace">Options Reconfigured:</font></div>
          <div><font face="monospace, monospace">diagnostics.count-fop-hits:
              on</font></div>
          <div><font face="monospace, monospace">diagnostics.latency-measurement:
              on</font></div>
          <div><font face="monospace, monospace">nfs.drc: off</font></div>
        </div>
        <div><br>
        </div>
        <div>eapps-gluster03 had a hard drive failure so I replaced it,
          formatted the drive and now need gluster to be happy again.
          Gluster put a .glusterfs folder inĀ /export/sdb1/gv0 but
          nothing else has shown up and the brick is offline. I read the
          docs on replacing a brick but seem to be missing something and
          would appreciate some help. Thanks!</div>
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><span
                        style="font-family:arial,helvetica,sans-serif">--</span></div>
                    <div
                      style="color:rgb(51,102,255);font-family:tahoma,sans-serif"><font
                        size="4"><b>Gene Liverman</b></font></div>
                    <div style="font-family:tahoma,sans-serif">Systems
                      Integration Architect</div>
                    <div style="font-family:tahoma,sans-serif">Information
                      Technology Services</div>
                    <div style="font-family:tahoma,sans-serif">University
                      of West Georgia</div>
                    <div style="font-family:tahoma,sans-serif"><a
                        moz-do-not-send="true"
                        href="mailto:gliverma@westga.edu"
                        target="_blank">gliverma@westga.edu</a></div>
                    <div style="font-family:tahoma,sans-serif"><br>
                    </div>
                    <div style="font-family:tahoma,sans-serif">ITS:
                      Making Technology Work for You!</div>
                    <div style="font-family:tahoma,sans-serif"><br>
                    </div>
                    <div style="font-family:tahoma,sans-serif"><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">On Thu, Oct 8, 2015 at 2:46 PM,
            Pranith Kumar Karampuri <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:pkarampu@redhat.com"
                target="_blank">pkarampu@redhat.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 bgcolor="#FFFFFF" text="#000000"> On 3.7.4, all you
                need to do is execute "gluster volume replace-brick
                &lt;volname&gt; commit force" and rest will be taken
                care by afr. We are in the process of coming up with new
                commands like "gluster volume reset-brick
                &lt;volname&gt; start/commit" for wiping/re-formatting
                of the disk. So wait just a little longer :-).<span
                  class="HOEnZb"><font color="#888888"><br>
                    <br>
                    Pranith</font></span>
                <div>
                  <div class="h5"><br>
                    <br>
                    <div>On 10/08/2015 11:26 AM, Lindsay Mathieson
                      wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">
                      <div dir="ltr">
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">On 8 October 2015 at
                            07:19, Joe Julian <span dir="ltr">&lt;<a
                                moz-do-not-send="true"
                                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 text="#000000" bgcolor="#FFFFFF">I
                                documented this on my blog at <a
                                  moz-do-not-send="true"
                                  href="https://joejulian.name/blog/replacing-a-brick-on-glusterfs-340/"
                                  target="_blank">https://joejulian.name/blog/replacing-a-brick-on-glusterfs-340/</a>
                                which is still accurate for the latest
                                version.<br>
                                <br>
                                The bug report I filed for this was
                                closed without resolution. I assume
                                there's no plans for ever making this
                                easy for administrators.<br>
                                <a moz-do-not-send="true"
                                  href="https://bugzilla.redhat.com/show_bug.cgi?id=991084"
                                  target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=991084</a><br>
                              </div>
                            </blockquote>
                          </div>
                          <br>
                          <br>
                        </div>
                        <div class="gmail_extra">Yes, its the sort of
                          workaround one can never remember in an
                          emergency, you'd have to google it up ...<br>
                          <br>
                        </div>
                        <div class="gmail_extra">In the case I was
                          working with, probably easier and quicker to
                          do a remove-brick/add-brick.<br>
                          <br>
                        </div>
                        <div class="gmail_extra">thanks,<br>
                        </div>
                        <div class="gmail_extra"><br clear="all">
                          <br>
                          -- <br>
                          <div>Lindsay</div>
                        </div>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                    </div>
                  </div>
                  <span class="">
                    <pre>_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
                  </span></blockquote>
                <br>
              </div>
              <br>
              _______________________________________________<br>
              Gluster-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
              <a moz-do-not-send="true"
                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>
      </div>
    </blockquote>
    <br>
  </body>
</html>