<div dir="ltr"><div><div><div>Hi Gaurav,<br><br></div>Yes, you are right actually I am force fully detaching the node from the slave and when we removed the board it disconnected from the another board.<br><br></div>but my question is I am doing this process multiple time some time it works fine but some time it gave these errors.<br><br><br></div>you can see the following logs from cmd_history.log file<br><br>[2016-02-18 10:03:34.497996]  : volume set c_glusterfs nfs.disable on : SUCCESS<br>[2016-02-18 10:03:34.915036]  : volume start c_glusterfs force : SUCCESS<br>[2016-02-18 10:03:40.250326]  : volume status : SUCCESS<br>[2016-02-18 10:03:40.273275]  : volume status : SUCCESS<br>[2016-02-18 10:03:40.601472]  : volume remove-brick c_glusterfs replica 1 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>[2016-02-18 10:03:40.885973]  : peer detach 10.32.1.144 : SUCCESS    <br>[2016-02-18 10:03:42.065038]  : peer probe 10.32.1.144 : SUCCESS    <br>[2016-02-18 10:03:44.563546]  : volume add-brick c_glusterfs replica 2 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>[2016-02-18 10:30:53.297415]  : volume status : SUCCESS<br>[2016-02-18 10:30:53.313096]  : volume status : SUCCESS<br>[2016-02-18 10:37:02.748714]  : volume status : SUCCESS<br>[2016-02-18 10:37:02.762091]  : volume status : SUCCESS<br>[2016-02-18 10:37:02.816089]  : volume remove-brick c_glusterfs replica 1 10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 3:05 PM, Gaurav Garg <span dir="ltr">&lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@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">Hi Abhishek,<br>
<br>
Seems your peer 10.32.1.144 have disconnected while doing remove brick. see the below logs in glusterd:<br>
<br>
[2016-02-18 10:37:02.816009] E [MSGID: 106256] [glusterd-brick-ops.c:1047:__glusterd_handle_remove_brick] 0-management: Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs [Invalid argument]<br>
[2016-02-18 10:37:02.816061] E [MSGID: 106265] [glusterd-brick-ops.c:1088:__glusterd_handle_remove_brick] 0-management: Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
The message &quot;I [MSGID: 106004] [glusterd-handler.c:5065:__glusterd_peer_rpc_notify] 0-management: Peer &lt;10.32.1.144&gt; (&lt;6adf57dc-c619-4e56-ae40-90e6aef75fe9&gt;), in state &lt;Peer in Cluster&gt;, has disconnected from glusterd.&quot; repeated 25 times between [2016-02-18 10:35:43.131945] and [2016-02-18 10:36:58.160458]<br>
<br>
<br>
<br>
If you are facing the same issue now, could you paste your # gluster peer status     command output here.<br>
<br>
Thanks,<br>
~Gaurav<br>
<div><div class="h5"><br>
----- Original Message -----<br>
From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt;<br>
To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
Sent: Friday, February 19, 2016 2:46:35 PM<br>
Subject: [Gluster-users] Issue in Adding/Removing the gluster node<br>
<br>
Hi,<br>
<br>
<br>
I am working on two board setup connecting to each other. Gluster version 3.7.6 is running and added two bricks in replica 2 mode but when I manually removed (detach) the one board from the setup I am getting the following error.<br>
<br>
volume remove-brick c_glusterfs replica 1 10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
<br>
Please find the logs file as an attachment.<br>
<br>
<br>
Regards,<br>
Abhishek<br>
<br>
<br>
</div></div>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</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>