<p dir="ltr">Maybe something like:</p>
<p dir="ltr">gluster volume add-brick replica 4 arbiter 1 newbrick:/path-to-brick</p>
<p dir="ltr">Best Regards,<br>
Strahil Nikolov</p>
<div class="quote">On Jan 7, 2020 14:22, Stefan Seidel <privat@stefanseidel.info> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:12pt;color:#000000"><div>Doesn't seem to be working, at least not in a straightforward way:<br /></div><div><br /></div><div>$ gluster volume add-brick backupv01 host-06:/data/glusterfs/backupv01/brick06/gv0<br />volume add-brick: failed: Incorrect number of bricks supplied 1 with count 3<br /></div><div><br /></div><div>$ gluster volume add-brick backupv01 replica 3 arbiter 1 host-06:/data/glusterfs/backupv01/brick06/gv0 <br />volume add-brick: failed: Operation failed<br /><br /></div><div>(Probably because replica 3 arbiter 1 is the same as replica 2 arbiter 1)<br /></div><div><br /></div><div>Stefan<br /></div><div><br /></div><hr /><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:'helvetica' , 'arial' , sans-serif;font-size:12pt"><b>From: </b>"Stefan" <gluster@stefanseidel.info><br /><b>To: </b>"Strahil Nikolov" <hunter86_bg@yahoo.com><br /><b>Cc: </b>"gluster-users" <gluster-users@gluster.org><br /><b>Sent: </b>Tuesday, 7 January, 2020 11:22:02<br /><b>Subject: </b>Re: [Gluster-users] Replacing brick in replicated volume without reducing redundancy?<br /></blockquote></div><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:'helvetica' , 'arial' , sans-serif;font-size:12pt"><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:12pt;color:#000000"><div>Thanks, that sounds interesting. From what I understand, arbiter setups only support multiple-of-2 data bricks, but maybe it's possible to replace the arbiter with a data brick, then replace the old data brick with an arbiter again.<br /></div><br /><div>Stefan<br /></div><br /><hr /><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:'helvetica' , 'arial' , sans-serif;font-size:12pt"><b>From: </b>"Strahil Nikolov" <hunter86_bg@yahoo.com><br /><b>To: </b>"gluster-users" <gluster-users@gluster.org>, "Stefan" <gluster@stefanseidel.info><br /><b>Sent: </b>Tuesday, 7 January, 2020 10:18:11<br /><b>Subject: </b>Re: [Gluster-users] Replacing brick in replicated volume without reducing redundancy?<br /></blockquote></div><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:'helvetica' , 'arial' , sans-serif;font-size:12pt"><div style="font-family:'courier new' , 'courier' , 'monaco' , monospace , sans-serif;font-size:16px">
<div dir="ltr">I'm not sure if you can increase (and later decrease) the replica count without stopping the volume.</div><div dir="ltr">Have you checked that as an option ?</div><div dir="ltr"><br /></div><div dir="ltr">Best Regards,</div><div dir="ltr">Strahil Nikolov<br /></div><br />
</div><div>
<div style="font-family:'helvetica neue' , 'helvetica' , 'arial' , sans-serif;font-size:13px;color:#26282a">
<div>
В вторник, 7 януари 2020 г., 3:58:11 ч. Гринуич-5, Stefan <gluster@stefanseidel.info> написа:
</div>
<br />
<br />
<div><div><div><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:12pt;color:#000000"><div>Hi,<br /></div><br /><div>I am looking to replace a brick in a replicated volume with arbiter (2+1 bricks).<br /></div><div>Judging from this page: <a href="https://docs.gluster.org/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick">https://docs.gluster.org/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick</a><br /></div><div>it seems that the procedure is: simulate a brick failure, then add a replacement brick.<br /></div><br /><div>Is that the only way to do it? Isn't there a way to migrate the data on the fly without running on reduced redundancy during the migration, like pvmove exists for LVM?<br /></div><br /><div>Thanks,<br /></div><br /><div>Stefan<br /></div></div></div></div>________<br /><br />Community Meeting Calendar:<br /><br />APAC Schedule -<b></b></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div>