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