<div dir="ltr"><div><div>Hi Gaurav,<br><br></div>Both are the board connect through the backplane using ethernet.<br><br></div><div>Even this inconsistency also occurs when I am trying to bringing back the node in slot. Means some time add-brick executes without failure but some time following error occurs.<br><br>volume add-brick c_glusterfs replica 2 10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Another transaction is in progress for c_glusterfs. Please try again after sometime.<br><br><br></div><div>You can also see the attached logs for add-brick failure scenario.<br><br></div><div>Please let me know if you need more logs.<br><br></div><div>Regards,<br></div><div>Abhishek<br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 5:03 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:rgb(0,0,0)"><div>Hi Abhishek,</div><div><br></div><div>How are you connecting two board, and how are you removing it manually that need to know because if you are removing your 2nd board from the cluster (abrupt shutdown) then you can&#39;t perform remove brick operation in 2nd node from first node and its happening successfully in your case. could you ensure your network connection once again while removing and bringing back your node again.</div><div><br></div><div>Thanks,</div><div>Gaurav </div><div><br></div><hr><div style="color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><span class=""><b>From: </b>&quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br><b>To: </b>&quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br><b>Cc: </b><a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br></span><b>Sent: </b>Friday, February 19, 2016 3:36:21 PM<div><div class="h5"><br><b>Subject: </b>Re: [Gluster-users] Issue in Adding/Removing the gluster node<br><div><br></div><div dir="ltr"><div><div><div><div><div><div>Hi Gaurav,<br><div><br></div></div><div>Thanks for reply<br></div><div><br>1. Here, I removed the board manually here but this time it works fine<br><div><br></div>[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><div><br></div></div><div>Yes this time board is reachable but how? don&#39;t know because board is detached.<br></div><div><br></div>2. Here, I attached the board this time its works fine in add-bricks<br><div><br></div>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><div><br></div></div>3.Here, again I removed the board this time failed occur<br><div><br></div>[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<br>/lvmdir/c2/brick for volume c_glusterfs<br><div><br></div></div>but here board is not reachable.<br><div><br></div></div>why this inconsistency is there while doing the same step multiple time. <br><div><br></div></div><div>Hope you are getting my point.<br></div><div><br></div>Regards,<br></div>Abhishek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 3:25 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Abhishek,<br>
<br>
when sometime its working fine means 2nd board network connection is reachable to first node. you can conform this by executing same #gluster peer status command.<br>
<br>
Thanks,<br>
<span>Gaurav<br>
<br>
----- Original Message -----<br>
From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
</span><div><div>To: &quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
Sent: Friday, February 19, 2016 3:12:22 PM<br>
Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster node<br>
<br>
Hi Gaurav,<br>
<br>
Yes, you are right actually I am force fully detaching the node from the<br>
slave and when we removed the board it disconnected from the another board.<br>
<br>
but my question is I am doing this process multiple time some time it works<br>
fine but some time it gave these errors.<br>
<br>
<br>
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 :<br>
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<br>
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<br>
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<br>
10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Incorrect brick<br>
10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
<br>
<br>
On Fri, Feb 19, 2016 at 3:05 PM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt; wrote:<br>
<br>
&gt; Hi Abhishek,<br>
&gt;<br>
&gt; Seems your peer 10.32.1.144 have disconnected while doing remove brick.<br>
&gt; see the below logs in glusterd:<br>
&gt;<br>
&gt; [2016-02-18 10:37:02.816009] E [MSGID: 106256]<br>
&gt; [glusterd-brick-ops.c:1047:__glusterd_handle_remove_brick] 0-management:<br>
&gt; Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
&gt; [Invalid argument]<br>
&gt; [2016-02-18 10:37:02.816061] E [MSGID: 106265]<br>
&gt; [glusterd-brick-ops.c:1088:__glusterd_handle_remove_brick] 0-management:<br>
&gt; Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
&gt; The message &quot;I [MSGID: 106004]<br>
&gt; [glusterd-handler.c:5065:__glusterd_peer_rpc_notify] 0-management: Peer<br>
&gt; &lt;10.32.1.144&gt; (&lt;6adf57dc-c619-4e56-ae40-90e6aef75fe9&gt;), in state &lt;Peer in<br>
&gt; Cluster&gt;, has disconnected from glusterd.&quot; repeated 25 times between<br>
&gt; [2016-02-18 10:35:43.131945] and [2016-02-18 10:36:58.160458]<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; If you are facing the same issue now, could you paste your # gluster peer<br>
&gt; status     command output here.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; ~Gaurav<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; Sent: Friday, February 19, 2016 2:46:35 PM<br>
&gt; Subject: [Gluster-users] Issue in Adding/Removing the gluster node<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt;<br>
&gt; I am working on two board setup connecting to each other. Gluster version<br>
&gt; 3.7.6 is running and added two bricks in replica 2 mode but when I manually<br>
&gt; removed (detach) the one board from the setup I am getting the following<br>
&gt; error.<br>
&gt;<br>
&gt; volume remove-brick c_glusterfs replica 1 10.32.1.144:/opt/lvmdir/c2/brick<br>
&gt; force : FAILED : Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for<br>
&gt; volume c_glusterfs<br>
&gt;<br>
&gt; Please find the logs file as an attachment.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">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>
<br>
<br>
<br>
--<br>
<br>
<br>
<br>
<br>
Regards<br>
Abhishek Paliwal<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><br><div><br></div><br><div><br></div>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div>
</div></div></div><div><br></div></div></div></blockquote></div><br><br clear="all"><br><br></div></div>