<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 4:17 PM, Gandalf Corvotempesta <span dir="ltr">&lt;<a href="mailto:gandalf.corvotempesta@gmail.com" target="_blank">gandalf.corvotempesta@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">2016-07-12 12:43 GMT+02:00 Pranith Kumar Karampuri &lt;<a href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;:<br>
&gt; True. But at the end of 4 replace-bricks, you have 4 bricks from earlier<br>
&gt; configuration which are empty now, which can be re-used. So essentially you<br>
&gt; have 6 empty bricks which can be put back into use, but these can be used to<br>
&gt; form replica sets as they are not from same machine. So you add-brick 2<br>
&gt; replica sets with these 6 bricks and do rebalance. Makes sense?<br>
<br>
</span>No, it does not make sense.<br>
I add a new server with some bricks. I have to replace the existing<br>
one with the newer ones.<br>
Now, If I try to re-add the &quot;replaced&quot; bricks, is the same like adding<br>
directly the new bricks.<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
If I can&#39;t add a bricks from a new single server to a replica3, why<br>
can I add re-add bricks from an older single server ? That&#39;s the same.<br>
</blockquote></div><br>For adding new bricks into a replica set you need each brick in the 
replica set to be from different machine. So you can&#39;t add all bricks 
directly from just one machine. So how do you get the extra bricks that can be combined with the bricks on new machine? From old servers. How do you get those? Using replace-brick. I hope with this info if you can go through the example once again, it probably may clarify your doubts. Please feel free to ask any questions you may have.<br><br><br></div><div class="gmail_extra">PS: This discussion proves this functionality definitely goes into heketi so that we don&#39;t have to do all this math. Thanks a lot for bringing this to our notice!!<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div></div>