<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 12:38 PM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@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"><span class=""><br>
<br>
On 03/22/2016 12:23 PM, ABHISHEK PALIWAL wrote:<br>
&gt;<br>
&gt; On Tue, Mar 22, 2016 at 12:14 PM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com">ggarg@redhat.com</a><br>
</span><div><div class="h5">&gt; &lt;mailto:<a href="mailto:ggarg@redhat.com">ggarg@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     &gt;&gt; I just want to know what is the difference in the following scenario:<br>
&gt;<br>
&gt;     1. remove-brick without the force option<br>
&gt;     2. remove-brick with the force option<br>
&gt;<br>
&gt;<br>
&gt;     remove-brick without force option will perform task based on your<br>
&gt;     option,<br>
&gt;     for eg. remove-brick start option will start migration of file from<br>
&gt;     given<br>
&gt;     remove-brick to other available bricks in the cluster. you can check<br>
&gt;     status<br>
&gt;     of this remove-brick task by issuing remove-brick status command.<br>
&gt;<br>
&gt;     But remove-brick with force option will just forcefully remove brick<br>
&gt;     from the cluster.<br>
&gt;     It will result in data loss in case of distributed volume, because<br>
&gt;     it will not migrate file<br>
&gt;     from given remove-brick to other available bricks in the cluster. In<br>
&gt;     case of replicate volume<br>
&gt;     you might not have problem by doing remove-brick force because later<br>
&gt;     on after adding brick you<br>
&gt;     can issue heal command and migrate file from first replica set to<br>
&gt;     this newly added brick.\<br>
&gt;<br>
&gt;<br>
&gt; so when you are saying the forcefully remove the brick means it will<br>
&gt; remove the brick even when<br>
&gt; that brick is not available or available but have the different uuid of<br>
&gt; peers, without generating any error?<br>
</div></div>As I mentioned earlier it doesn&#39;t make sense to differentiate between<br>
these two behaviors until the UUID mismatch issue is resolved.<br></blockquote><div><br></div><div>Yes, I agree. but how we can resolve that uuid mismatch issue is there any way for the same in running system? <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">&gt;<br>
&gt;<br>
&gt;     Thanks,<br>
&gt;<br>
&gt;     ~Gaurav<br>
&gt;<br>
&gt;     ----- Original Message -----<br>
&gt;     From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a><br>
</span><span class="">&gt;     &lt;mailto:<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;&gt;<br>
&gt;     To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;,<br>
&gt;     <a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt;     Sent: Tuesday, March 22, 2016 11:35:52 AM<br>
&gt;     Subject: [Gluster-users] Impact of force option in remove-brick<br>
&gt;<br>
&gt;     Hi Team,<br>
&gt;<br>
&gt;     I have the following scenario:<br>
&gt;<br>
&gt;     1. I have one replica 2 volume in which two brick are available.<br>
&gt;     2. in such permutation and combination I got the UUID of peers mismatch.<br>
&gt;     3. Because of UUID mismatch when I tried to remove brick on the<br>
&gt;     second board I am getting the Incorrect Brick failure.<br>
&gt;<br>
&gt;     Now, I have the question if I am using the remove-brick command with<br>
&gt;     the &#39;force&#39; option it means it should remove the brick in any<br>
&gt;     situation either the brick is available or its UUID is mismatch.<br>
&gt;<br>
&gt;     I just want to know what is the difference in the following scenario:<br>
&gt;<br>
&gt;     1. remove-brick without the force option<br>
&gt;     2. remove-brick with the force option<br>
&gt;<br>
&gt;<br>
&gt;     Regards<br>
&gt;     Abhishek<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Gluster-users mailing list<br>
</span>&gt;     <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;     <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Abhishek Paliwal<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div>