<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Thank you all for this.  Unfortunately
      I wasn't able to try this.  In my attempt to change the brick
      name, I noticed I'm on Gluster 3.13  (Not a typo) .  So I
      proceeded to update to 6.10 then from there, to 9.4.  To 6.10 it
      went fine however from 6.10 to 9.4 everything blew up.  I got a
      torrent of error messages.  Struggled on it for several hours but
      no luck.  <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">So I ended up blowing up the cluster
      after copying the data out to a single drive, then copying it back
      to the Gluster 9.4 cluster once the cluster was ready.  Would have
      loved to debug to see what to do about each error but I simply ran
      out of time and needed to get the cluster back up quickly. ( Still
      have most of the logs if interested but without some context, it
      would be somewhat meaningless. )  <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Nontheless, I'll keep the notes below. 
      I have a few more Gluster clusters to work on. <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Cheers<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 2022-01-04 8:55 a.m., Olaf Buitelaar
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACH-y5TShOSwkfNG0WTdWmFobw81JYaFJec6on33UxN8+79D3g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Tom,
        <div><br>
        </div>
        <div>I think you could use the replace-brick sub-command; like:
          "gluster volume replace-brick <vol>
          <host>:/bricks/0/gv01   
           <host>:/bricks/0/abc-gv01  commit force"</div>
        <div>see; <a
href="https://docs.gluster.org/en/latest/Administrator-Guide/Managing-Volumes/#replace-brick"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://docs.gluster.org/en/latest/Administrator-Guide/Managing-Volumes/#replace-brick</a></div>
        <div><br>
        </div>
        <div>Kind regards,</div>
        <div><br>
        </div>
        <div>Olaf</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Op di 4 jan. 2022 om 12:50
          schreef Stefan Solbrig <<a
            href="mailto:stefan.solbrig@ur.de" moz-do-not-send="true"
            class="moz-txt-link-freetext">stefan.solbrig@ur.de</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
          <br>
          I use the sequence below to move a brick to a different peer.
          I assume it also works for renaming a brick (just put peer01 =
          peer02 = whateveryourpeeris).  I used this on a
          distributed-only volume (no replication) running glusterfs
          9.3. <br>
          Please note that I didn't to extensive tests and I didn't find
          any documentation if this is officially supported.<br>
          <br>
          best wishes,<br>
          -Stefan<br>
          <br>
          #----------------------<br>
          <br>
              # stop glusterfsd for brick:<br>
          <br>
          gluster v reset-brick gvol peer01:/old/path start<br>
          <br>
              # in your case,  you probably want to do something here
          like<br>
          <br>
          mv  /old/path /new/path      <br>
          <br>
              #  add the moved path as new brick:<br>
          <br>
          gluster v add-brick gvol peer02:/new/path force<br>
          <br>
              # Order is important!<br>
              # if brick is removed before other brick is added,<br>
              # will lead to duplicate files.<br>
              #  remove old brick (which does not exist any longer)<br>
          <br>
          gluster v remove-brick gvol peer01:/old/path force<br>
          <br>
              # probably not necessary in your case:<br>
          <br>
          gluster v rebalance gvol fix-layout  start<br>
          <br>
          #------------------<br>
          <br>
          <br>
          > Hey All,<br>
          > <br>
          > Is there a way to rename a brick within an existing
          gluster volume?<br>
          > <br>
          > /bricks/0/gv01  -> /bricks/0/abc-gv01<br>
          > <br>
          > <br>
          > <br>
          > -- <br>
          > Thx,<br>
          > TK.<br>
          > <br>
          <br>
          ________<br>
          <br>
          <br>
          <br>
          Community Meeting Calendar:<br>
          <br>
          Schedule -<br>
          Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
          Bridge: <a href="https://meet.google.com/cpu-eiue-hvk"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://meet.google.com/cpu-eiue-hvk</a><br>
          Gluster-users mailing list<br>
          <a href="mailto:Gluster-users@gluster.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Gluster-users@gluster.org</a><br>
          <a
            href="https://lists.gluster.org/mailman/listinfo/gluster-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a class="moz-txt-link-freetext" href="https://meet.google.com/cpu-eiue-hvk">https://meet.google.com/cpu-eiue-hvk</a>
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="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      Thx,<br>
      TK.<br>
    </div>
  </body>
</html>