Next time, when you updatebetween major versions - always check the <Major Version>.0 release notes for migration requirements and/or supported versions.<div id="yMail_cursorElementTracker_1641400204469"><br></div><div id="yMail_cursorElementTracker_1641400204653">Some functionality is deprecated/changed and that could have caused the problem.<br> <br><br>Best Regards,</div><div id="yMail_cursorElementTracker_1641400246173">Strahil Nikolov</div><div id="yMail_cursorElementTracker_1641400250498"><br> <blockquote style="margin: 0 0 20px 0;"> <div style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Wed, Jan 5, 2022 at 6:42, TomK</div><div><tomkcpr@mdevsys.com> wrote:</div> </div> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> <div id="yiv0583264486"><div>
<div class="yiv0583264486moz-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 clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-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 clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix">Nontheless, I'll keep the notes below.
I have a few more Gluster clusters to work on. <br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix">Cheers<br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix"><br clear="none">
</div>
<div class="yiv0583264486moz-cite-prefix">On 2022-01-04 8:55 a.m., Olaf Buitelaar
wrote:<br clear="none">
</div>
<blockquote type="cite">
</blockquote></div><div><div dir="ltr">Hi Tom,
<div><br clear="none">
</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 rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://docs.gluster.org/en/latest/Administrator-Guide/Managing-Volumes/#replace-brick" class="yiv0583264486moz-txt-link-freetext">https://docs.gluster.org/en/latest/Administrator-Guide/Managing-Volumes/#replace-brick</a></div>
<div><br clear="none">
</div>
<div>Kind regards,</div>
<div><br clear="none">
</div>
<div>Olaf</div>
</div>
<br clear="none">
<div class="yiv0583264486gmail_quote">
<div dir="ltr" class="yiv0583264486gmail_attr">Op di 4 jan. 2022 om 12:50
schreef Stefan Solbrig <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:stefan.solbrig@ur.de" target="_blank" href="mailto:stefan.solbrig@ur.de" class="yiv0583264486moz-txt-link-freetext">stefan.solbrig@ur.de</a>>:<br clear="none">
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv0583264486gmail_quote">Hi,<br clear="none">
<br clear="none">
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 clear="none">
Please note that I didn't to extensive tests and I didn't find
any documentation if this is officially supported.<br clear="none">
<br clear="none">
best wishes,<br clear="none">
-Stefan<br clear="none">
<br clear="none">
#----------------------<br clear="none">
<br clear="none">
# stop glusterfsd for brick:<br clear="none">
<br clear="none">
gluster v reset-brick gvol peer01:/old/path start<br clear="none">
<br clear="none">
# in your case, you probably want to do something here
like<br clear="none">
<br clear="none">
mv /old/path /new/path <br clear="none">
<br clear="none">
# add the moved path as new brick:<br clear="none">
<br clear="none">
gluster v add-brick gvol peer02:/new/path force<br clear="none">
<br clear="none">
# Order is important!<br clear="none">
# if brick is removed before other brick is added,<br clear="none">
# will lead to duplicate files.<br clear="none">
# remove old brick (which does not exist any longer)<br clear="none">
<br clear="none">
gluster v remove-brick gvol peer01:/old/path force<br clear="none">
<br clear="none">
# probably not necessary in your case:<br clear="none">
<br clear="none">
gluster v rebalance gvol fix-layout start<br clear="none">
<br clear="none">
#------------------<br clear="none">
<br clear="none">
<br clear="none">
> Hey All,<br clear="none">
> <br clear="none">
> Is there a way to rename a brick within an existing
gluster volume?<br clear="none">
> <br clear="none">
> /bricks/0/gv01 -> /bricks/0/abc-gv01<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> -- <br clear="none">
> Thx,<br clear="none">
> TK.<br clear="none">
> <br clear="none">
<br clear="none">
________<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
Community Meeting Calendar:<br clear="none">
<br clear="none">
Schedule -<br clear="none">
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br clear="none">
Bridge: <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://meet.google.com/cpu-eiue-hvk" class="yiv0583264486moz-txt-link-freetext">https://meet.google.com/cpu-eiue-hvk</a><br clear="none">
Gluster-users mailing list<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org" class="yiv0583264486moz-txt-link-freetext">Gluster-users@gluster.org</a><br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.gluster.org/mailman/listinfo/gluster-users" class="yiv0583264486moz-txt-link-freetext">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br clear="none">
</blockquote>
</div>
<br clear="none">
<fieldset class="yiv0583264486moz-mime-attachment-header"></fieldset>
<pre class="yiv0583264486moz-quote-pre">________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://meet.google.com/cpu-eiue-hvk" class="yiv0583264486moz-txt-link-freetext">https://meet.google.com/cpu-eiue-hvk</a>
Gluster-users mailing list
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org" class="yiv0583264486moz-txt-link-abbreviated">Gluster-users@gluster.org</a>
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.gluster.org/mailman/listinfo/gluster-users" class="yiv0583264486moz-txt-link-freetext">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
<div id="yiv0583264486yqtfd21587" class="yiv0583264486yqt4972712019"><p><br clear="none">
</p>
<div class="yiv0583264486moz-signature">-- <br clear="none">
Thx,<br clear="none">
TK.<br clear="none">
</div>
</div></div></div> </div> </blockquote></div>