<div dir="ltr"><div><div><div><div><div><div>Hi Gaurav,<br><br></div>For the network connectivity I am doing peer probe to the <font face="sans-serif" size="2">10.32.1.144 i.e. 2nd board thats working fine means connectivity is there.<br></font></div><font face="sans-serif" size="2"><br>#peer probe </font><font face="sans-serif" size="2">10.32.1.144<br></font></div><font face="sans-serif" size="2"><br>if the above command get success<br></font></div><font face="sans-serif" size="2"><br>I executed the the remove-brick command which is getting failed.<br><br></font></div><font face="sans-serif" size="2">So,  now it seems the the peer probe will not give the correct connectivity status to execute the remove-brick command. <br><br></font></div><div><font face="sans-serif" size="2">But after analyzing the following logs from the 1st board seems that the process which will update the second brick in output of &quot;</font><font face="sans-serif" size="2"><font face="sans-serif" size="2"># gluster volume status c_glusterfs</font>&quot; takes sometime to update this table and before the updation of this table remove-brick is getting executed that is why it is getting failed.<br><br></font>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br><font face="sans-serif" size="2"><b>1st board:<br></b><br># gluster volume info 
<br>status 
<br>gluster volume status c_glusterfs  
<br>Volume Name: c_glusterfs
<br>Type: Replicate
<br>Volume ID: 32793e91-6f88-4f29-b3e4-0d53d02a4b99
<br>Status: Started
<br>Number of Bricks: 1 x 2 = 2
<br>Transport-type: tcp
<br>Bricks:
<br>Brick1: 10.32.0.48:/opt/lvmdir/c2/brick
<br>Brick2: 10.32.1.144:/opt/lvmdir/c2/brick
<br>Options Reconfigured:
<br>nfs.disable: on
<br>network.ping-timeout: 4
<br>performance.readdir-ahead: on
<br># gluster peer status 
<br>Number of Peers: 1
<br> <br>Hostname: 10.32.1.144
<br>Uuid: b88c74b9-457d-4864-9fe6-403f6934d7d1
<br><span class="im">State: Peer in Cluster (Connected)
<br></span># gluster volume status c_glusterfs 
<br>Status of volume: c_glusterfs
<br>Gluster process                             TCP Port  RDMA Port  Online  Pid
<br>------------------------------------------------------------------------------
<br>Brick 10.32.0.48:/opt/lvmdir/c2/brick       49153     0          Y       2537 
<br>Self-heal Daemon on localhost               N/A       N/A        Y       5577 
<br>Self-heal Daemon on 10.32.1.144             N/A       N/A        Y       3850 
<br> 
<br>Task Status of Volume c_glusterfs
<br>------------------------------------------------------------------------------
<br>There are no active volume tasks<br><br>+++++++++++++++++++++++++++++++++++++++++++++++<br><br></font></div><div><font face="sans-serif" size="2">I&#39;ll try this with some delay or wait to remove-brick until the </font><font face="sans-serif" size="2"><font face="sans-serif" size="2"># gluster volume status c_glusterfs command show second brick in the list.<br><br></font></font></div><div><font face="sans-serif" size="2"><font face="sans-serif" size="2">May we this approach will resolve the issue.<br><br></font></font></div><div><font face="sans-serif" size="2"><font face="sans-serif" size="2">Please comment, If you are agree with my observation<br></font></font></div><div><font face="sans-serif" size="2"><font face="sans-serif" size="2"><br></font></font></div><div><font face="sans-serif" size="2"><font face="sans-serif" size="2">Regards,<br></font></font></div><div><font face="sans-serif" size="2"><font face="sans-serif" size="2">Abhishek</font><br></font></div><font face="sans-serif" size="2"></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 1:10 PM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi Gaurav,<br><br></div>In my case we are removing the brick in the offline state with the force option like in the following way:<b><br><br><font face="sans-serif" size="2">gluster volume remove-brick %s replica 1 %s:%s force --mode=script<br><br></font></b></div><font face="sans-serif" size="2">but still getting the </font><font face="sans-serif" size="2">failure or remove-brick<br><br></font></div><font face="sans-serif" size="2">it seems that brick is not present which we are trying to remove here are the log snippet of both of the boards<br><br></font></div><font face="sans-serif" size="2"><b>1st board:<br></b><br># gluster volume info 
<br>status 
<br>gluster volume status c_glusterfs  
<br>Volume Name: c_glusterfs
<br>Type: Replicate
<br>Volume ID: 32793e91-6f88-4f29-b3e4-0d53d02a4b99
<br>Status: Started
<br>Number of Bricks: 1 x 2 = 2
<br>Transport-type: tcp
<br>Bricks:
<br>Brick1: 10.32.0.48:/opt/lvmdir/c2/brick
<br>Brick2: 10.32.1.144:/opt/lvmdir/c2/brick
<br>Options Reconfigured:
<br>nfs.disable: on
<br>network.ping-timeout: 4
<br>performance.readdir-ahead: on
<br># gluster peer status 
<br>Number of Peers: 1
<br> <br>Hostname: 10.32.1.144
<br>Uuid: b88c74b9-457d-4864-9fe6-403f6934d7d1
<br><span class="">State: Peer in Cluster (Connected)
<br></span># gluster volume status c_glusterfs 
<br>Status of volume: c_glusterfs
<br>Gluster process                             TCP Port  RDMA Port  Online  Pid
<br>------------------------------------------------------------------------------
<br>Brick 10.32.0.48:/opt/lvmdir/c2/brick       49153     0          Y       2537 
<br>Self-heal Daemon on localhost               N/A       N/A        Y       5577 
<br>Self-heal Daemon on 10.32.1.144             N/A       N/A        Y       3850 
<br> 
<br>Task Status of Volume c_glusterfs
<br>------------------------------------------------------------------------------
<br>There are no active volume tasks<br><br></font></div><font face="sans-serif" size="2"><b>2nd Board</b>:<br><br># gluster volume info 
<br>status 
<br>gluster volume status c_glusterfs 
<br>gluster volume heal c_glusterfs info
<br> 
<br>Volume Name: c_glusterfs
<br>Type: Replicate
<br>Volume ID: 32793e91-6f88-4f29-b3e4-0d53d02a4b99
<br>Status: Started
<br>Number of Bricks: 1 x 2 = 2
<br>Transport-type: tcp
<br>Bricks:
<br>Brick1: 10.32.0.48:/opt/lvmdir/c2/brick
<br>Brick2: 10.32.1.144:/opt/lvmdir/c2/brick
<br>Options Reconfigured:
<br>performance.readdir-ahead: on
<br>network.ping-timeout: 4
<br>nfs.disable: on
<br># gluster peer status 
<br>Number of Peers: 1
<br> <br>Hostname: 10.32.0.48
<br>Uuid: e7c4494e-aa04-4909-81c9-27a462f6f9e7
<br><span class="">State: Peer in Cluster (Connected)
<br></span># gluster volume status c_glusterfs 
<br>Status of volume: c_glusterfs
<br>Gluster process                             TCP Port  RDMA Port  Online  Pid
<br>------------------------------------------------------------------------------
<br>Brick 10.32.0.48:/opt/lvmdir/c2/brick       49153     0          Y       2537 
<br>Self-heal Daemon on localhost               N/A       N/A        Y       3850 
<br>Self-heal Daemon on 10.32.0.48              N/A       N/A        Y       5577 
<br> 
<br>Task Status of Volume c_glusterfs
<br>------------------------------------------------------------------------------
<br>There are no active volume tasks<br><br></font></div><div><font face="sans-serif" size="2">Do you know why these logs are not showing the Brick info at the time of gluster volume status.<br></font></div><div><font face="sans-serif" size="2">Because we are not able to collect the logs of cmd_history.log file from the 2nd board.<br><br></font></div><font face="sans-serif" size="2">Regards,<br></font></div><div><font face="sans-serif" size="2">Abhishek<br></font></div><font face="sans-serif" size="2"><br></font></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 12:02 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>
<span><br>
&gt;&gt; Can we perform remove-brick operation on the offline brick? what is the<br>
meaning of offline and online brick?<br>
<br>
</span>No, you can&#39;t perform remove-brick operation on the offline brick. brick is offline means brick process is not running. you can see it by executing #gluster volume status. If brick is offline then respective brick will show &quot;N&quot; entry in Online column of #gluster volume status command. Alternatively you can also check whether glusterfsd process for that brick is running or not by executing #ps aux | grep glusterfsd, this command will list out all the brick process you can filter out from them, which one is online, which one is not.<br>
<br>
But if you want to perform remove-brick operation on the offline brick then you need to execute it with force option. #gluster volume remove-brick &lt;volname&gt; hostname:/brick_name force. This might lead to data loss.<br>
<span><br>
<br>
<br>
&gt;&gt; Also, Is there any logic in gluster through which we can check the<br>
connectivity of node established or not before performing the any operation<br>
on brick?<br>
<br>
</span>Yes, you can check it by executing #gluster peer status command.<br>
<br>
<br>
Thanks,<br>
<span><br>
~Gaurav<br>
<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>
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>
</span><div><div>Sent: Tuesday, February 23, 2016 11:50:43 AM<br>
Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster node<br>
<br>
Hi Gaurav,<br>
<br>
one general question related to gluster bricks.<br>
<br>
Can we perform remove-brick operation on the offline brick? what is the<br>
meaning of offline and online brick?<br>
Also, Is there any logic in gluster through which we can check the<br>
connectivity of node established or not before performing the any operation<br>
on brick?<br>
<br>
Regards,<br>
Abhishek<br>
<br>
On Mon, Feb 22, 2016 at 2:42 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; I went through your logs of node 1 and by looking glusterd logs its<br>
&gt; clearly indicate that your 2nd node (10.32.1.144) have disconnected from<br>
&gt; the cluster, because of that remove-brick operation failed. I think you<br>
&gt; need to check your network interface.<br>
&gt;<br>
&gt; But surprising things is that i did not see duplicate peer entry in<br>
&gt; #gluster peer status command output.<br>
&gt;<br>
&gt; May be i will get some more information from your (10.32.1.144) 2nd node<br>
&gt; logs. Could you also attach your 2nd node logs.<br>
&gt;<br>
&gt; after restarting glusterd, are you seeing duplicate peer entry in #gluster<br>
&gt; peer status command output ?<br>
&gt;<br>
&gt; will wait for 2nd node logs for further analyzing duplicate peer entry<br>
&gt; problem.<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" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; To: &quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; Sent: Monday, February 22, 2016 12:48:55 PM<br>
&gt; Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster node<br>
&gt;<br>
&gt; Hi Gaurav,<br>
&gt;<br>
&gt; Here, You can find the attached logs for the boards in case of remove-brick<br>
&gt; failure.<br>
&gt; In these logs we do not have the cmd_history and<br>
&gt; etc-glusterfs-glusterd.vol.log for the second board.<br>
&gt;<br>
&gt; May be for that we need to some more time.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
&gt;<br>
&gt; On Mon, Feb 22, 2016 at 10:18 AM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi Abhishek,<br>
&gt; &gt;<br>
&gt; &gt; &gt;&gt;  I&#39;ll provide the required log to you.<br>
&gt; &gt;<br>
&gt; &gt; sure<br>
&gt; &gt;<br>
&gt; &gt; on both node. do &quot;pkill glusterd&quot; and then start glusterd services.<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" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt; To: &quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; &gt; Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; &gt; Sent: Monday, February 22, 2016 10:11:48 AM<br>
&gt; &gt; Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster node<br>
&gt; &gt;<br>
&gt; &gt; Hi Gaurav,<br>
&gt; &gt;<br>
&gt; &gt; Thanks for your prompt reply.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ll provide the required log to you.<br>
&gt; &gt;<br>
&gt; &gt; As a workaround you suggested that restart the glusterd service. Could<br>
&gt; you<br>
&gt; &gt; please tell me the point where I can do this?<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt; Abhishek<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Feb 19, 2016 at 6:11 PM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi Abhishek,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Peer status output looks interesting where it have stale entry,<br>
&gt; &gt; &gt; technically it should not happen. Here few thing need to ask<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Did you perform any manual operation with GlusterFS configuration file<br>
&gt; &gt; &gt; which resides in /var/lib/glusterd/* folder.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Can you provide output of &quot;ls /var/lib/glusterd/peers&quot;  from both of<br>
&gt; your<br>
&gt; &gt; &gt; nodes.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Could you provide output of #gluster peer status command when 2nd node<br>
&gt; is<br>
&gt; &gt; &gt; down<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Can you provide output of #gluster volume info command<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Can you provide full logs details of cmd_history.log and<br>
&gt; &gt; &gt; etc-glusterfs-glusterd.vol.log from both the nodes.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; You can restart your glusterd as of now as a workaround but we need to<br>
&gt; &gt; &gt; analysis this issue further.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; Gaurav<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; Sent: Friday, February 19, 2016 5:27:21 PM<br>
&gt; &gt; &gt; Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster node<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hi Gaurav,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; After the failure of add-brick following is outcome &quot;gluster peer<br>
&gt; status&quot;<br>
&gt; &gt; &gt; command<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Number of Peers: 2<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hostname: 10.32.1.144<br>
&gt; &gt; &gt; Uuid: bbe2a458-ad3d-406d-b233-b6027c12174e<br>
&gt; &gt; &gt; State: Peer in Cluster (Connected)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hostname: 10.32.1.144<br>
&gt; &gt; &gt; Uuid: bbe2a458-ad3d-406d-b233-b6027c12174e<br>
&gt; &gt; &gt; State: Peer in Cluster (Connected)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; Abhishek<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Fri, Feb 19, 2016 at 5:21 PM, ABHISHEK PALIWAL &lt;<br>
&gt; &gt; <a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Gaurav,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Both are the board connect through the backplane using ethernet.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Even this inconsistency also occurs when I am trying to bringing back<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt; node in slot. Means some time add-brick executes without failure but<br>
&gt; &gt; some<br>
&gt; &gt; &gt; &gt; time following error occurs.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; volume add-brick c_glusterfs replica 2 <a href="http://10.32.1.144" rel="noreferrer" target="_blank">10.32.1.144</a>:<br>
&gt; &gt; /opt/lvmdir/c2/brick<br>
&gt; &gt; &gt; &gt; force : FAILED : Another transaction is in progress for c_glusterfs.<br>
&gt; &gt; &gt; Please<br>
&gt; &gt; &gt; &gt; try again after sometime.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; You can also see the attached logs for add-brick failure scenario.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Please let me know if you need more logs.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; &gt; Abhishek<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Fri, Feb 19, 2016 at 5:03 PM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; Hi Abhishek,<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; How are you connecting two board, and how are you removing it<br>
&gt; manually<br>
&gt; &gt; &gt; &gt;&gt; that need to know because if you are removing your 2nd board from<br>
&gt; the<br>
&gt; &gt; &gt; &gt;&gt; cluster (abrupt shutdown) then you can&#39;t perform remove brick<br>
&gt; &gt; operation<br>
&gt; &gt; &gt; in<br>
&gt; &gt; &gt; &gt;&gt; 2nd node from first node and its happening successfully in your<br>
&gt; case.<br>
&gt; &gt; &gt; could<br>
&gt; &gt; &gt; &gt;&gt; you ensure your network connection once again while removing and<br>
&gt; &gt; &gt; bringing<br>
&gt; &gt; &gt; &gt;&gt; back your node again.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Thanks,<br>
&gt; &gt; &gt; &gt;&gt; Gaurav<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; ------------------------------<br>
&gt; &gt; &gt; &gt;&gt; *From: *&quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt; *To: *&quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt; *Cc: *<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; &gt;&gt; *Sent: *Friday, February 19, 2016 3:36:21 PM<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; *Subject: *Re: [Gluster-users] Issue in Adding/Removing the gluster<br>
&gt; &gt; node<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Hi Gaurav,<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Thanks for reply<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; 1. Here, I removed the board manually here but this time it works<br>
&gt; fine<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; [2016-02-18 10:03:40.601472]  : volume remove-brick c_glusterfs<br>
&gt; &gt; replica<br>
&gt; &gt; &gt; 1<br>
&gt; &gt; &gt; &gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt; [2016-02-18 10:03:40.885973]  : peer detach 10.32.1.144 : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Yes this time board is reachable but how? don&#39;t know because board<br>
&gt; is<br>
&gt; &gt; &gt; &gt;&gt; detached.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; 2. Here, I attached the board this time its works fine in add-bricks<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; 2016-02-18 10:03:42.065038]  : peer probe 10.32.1.144 : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt; [2016-02-18 10:03:44.563546]  : volume add-brick c_glusterfs<br>
&gt; replica 2<br>
&gt; &gt; &gt; &gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; 3.Here, again I removed the board this time failed occur<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; [2016-02-18 10:37:02.816089]  : volume remove-brick c_glusterfs<br>
&gt; &gt; replica<br>
&gt; &gt; &gt; 1<br>
&gt; &gt; &gt; &gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Incorrect brick<br>
&gt; &gt; &gt; &gt;&gt; 10.32.1.144:/opt<br>
&gt; &gt; &gt; &gt;&gt; /lvmdir/c2/brick for volume c_glusterfs<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; but here board is not reachable.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; why this inconsistency is there while doing the same step multiple<br>
&gt; &gt; time.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Hope you are getting my point.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Regards,<br>
&gt; &gt; &gt; &gt;&gt; Abhishek<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; On Fri, Feb 19, 2016 at 3:25 PM, Gaurav Garg &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Abhishek,<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; when sometime its working fine means 2nd board network connection<br>
&gt; is<br>
&gt; &gt; &gt; &gt;&gt;&gt; reachable to first node. you can conform this by executing same<br>
&gt; &gt; &gt; #gluster<br>
&gt; &gt; &gt; &gt;&gt;&gt; peer status command.<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Thanks,<br>
&gt; &gt; &gt; &gt;&gt;&gt; Gaurav<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; ----- Original Message -----<br>
&gt; &gt; &gt; &gt;&gt;&gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; To: &quot;Gaurav Garg&quot; &lt;<a href="mailto:ggarg@redhat.com" target="_blank">ggarg@redhat.com</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; &gt;&gt;&gt; Sent: Friday, February 19, 2016 3:12:22 PM<br>
&gt; &gt; &gt; &gt;&gt;&gt; Subject: Re: [Gluster-users] Issue in Adding/Removing the gluster<br>
&gt; &gt; node<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Hi Gaurav,<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Yes, you are right actually I am force fully detaching the node<br>
&gt; from<br>
&gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt;&gt;&gt; slave and when we removed the board it disconnected from the<br>
&gt; another<br>
&gt; &gt; &gt; &gt;&gt;&gt; board.<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; but my question is I am doing this process multiple time some time<br>
&gt; it<br>
&gt; &gt; &gt; &gt;&gt;&gt; works<br>
&gt; &gt; &gt; &gt;&gt;&gt; fine but some time it gave these errors.<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; you can see the following logs from cmd_history.log file<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:34.497996]  : volume set c_glusterfs nfs.disable<br>
&gt; &gt; on :<br>
&gt; &gt; &gt; &gt;&gt;&gt; SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:34.915036]  : volume start c_glusterfs force :<br>
&gt; &gt; &gt; SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:40.250326]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:40.273275]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:40.601472]  : volume remove-brick c_glusterfs<br>
&gt; &gt; &gt; replica 1<br>
&gt; &gt; &gt; &gt;&gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:40.885973]  : peer detach 10.32.1.144 : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:42.065038]  : peer probe 10.32.1.144 : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:03:44.563546]  : volume add-brick c_glusterfs<br>
&gt; replica<br>
&gt; &gt; 2<br>
&gt; &gt; &gt; &gt;&gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:30:53.297415]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:30:53.313096]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:37:02.748714]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:37:02.762091]  : volume status : SUCCESS<br>
&gt; &gt; &gt; &gt;&gt;&gt; [2016-02-18 10:37:02.816089]  : volume remove-brick c_glusterfs<br>
&gt; &gt; &gt; replica 1<br>
&gt; &gt; &gt; &gt;&gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick force : FAILED : Incorrect brick<br>
&gt; &gt; &gt; &gt;&gt;&gt; 10.32.1.144:/opt/lvmdir/c2/brick for volume c_glusterfs<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; 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;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Hi Abhishek,<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Seems your peer 10.32.1.144 have disconnected while doing remove<br>
&gt; &gt; &gt; brick.<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; see the below logs in glusterd:<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [2016-02-18 10:37:02.816009] E [MSGID: 106256]<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [glusterd-brick-ops.c:1047:__glusterd_handle_remove_brick]<br>
&gt; &gt; &gt; &gt;&gt;&gt; 0-management:<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume<br>
&gt; &gt; &gt; &gt;&gt;&gt; c_glusterfs<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [Invalid argument]<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [2016-02-18 10:37:02.816061] E [MSGID: 106265]<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [glusterd-brick-ops.c:1088:__glusterd_handle_remove_brick]<br>
&gt; &gt; &gt; &gt;&gt;&gt; 0-management:<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Incorrect brick 10.32.1.144:/opt/lvmdir/c2/brick for volume<br>
&gt; &gt; &gt; &gt;&gt;&gt; c_glusterfs<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; The message &quot;I [MSGID: 106004]<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [glusterd-handler.c:5065:__glusterd_peer_rpc_notify]<br>
&gt; 0-management:<br>
&gt; &gt; &gt; Peer<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; &lt;10.32.1.144&gt; (&lt;6adf57dc-c619-4e56-ae40-90e6aef75fe9&gt;), in state<br>
&gt; &gt; &gt; &lt;Peer<br>
&gt; &gt; &gt; &gt;&gt;&gt; in<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Cluster&gt;, has disconnected from glusterd.&quot; repeated 25 times<br>
&gt; &gt; between<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; [2016-02-18 10:35:43.131945] and [2016-02-18 10:36:58.160458]<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; If you are facing the same issue now, could you paste your #<br>
&gt; &gt; gluster<br>
&gt; &gt; &gt; &gt;&gt;&gt; peer<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; status     command output here.<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; ~Gaurav<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; To: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Sent: Friday, February 19, 2016 2:46:35 PM<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Subject: [Gluster-users] Issue in Adding/Removing the gluster<br>
&gt; node<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; I am working on two board setup connecting to each other. Gluster<br>
&gt; &gt; &gt; &gt;&gt;&gt; version<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; 3.7.6 is running and added two bricks in replica 2 mode but when<br>
&gt; I<br>
&gt; &gt; &gt; &gt;&gt;&gt; manually<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; removed (detach) the one board from the setup I am getting the<br>
&gt; &gt; &gt; &gt;&gt;&gt; following<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; error.<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; volume remove-brick c_glusterfs replica 1 <a href="http://10.32.1.144" rel="noreferrer" target="_blank">10.32.1.144</a>:<br>
&gt; &gt; &gt; &gt;&gt;&gt; /opt/lvmdir/c2/brick<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; force : FAILED : Incorrect brick <a href="http://10.32.1.144" rel="noreferrer" target="_blank">10.32.1.144</a>:<br>
&gt; /opt/lvmdir/c2/brick<br>
&gt; &gt; &gt; for<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; volume c_glusterfs<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Please find the logs file as an attachment.<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Regards,<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Abhishek<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; Gluster-users mailing list<br>
&gt; &gt; &gt; &gt;&gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; &gt; &gt; &gt;&gt;&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; &gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; --<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;&gt; Regards<br>
&gt; &gt; &gt; &gt;&gt;&gt; Abhishek Paliwal<br>
&gt; &gt; &gt; &gt;&gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Regards<br>
&gt; &gt; &gt; &gt;&gt; Abhishek Paliwal<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards<br>
&gt; &gt; &gt; Abhishek Paliwal<br>
&gt; &gt; &gt;<br>
&gt; &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>
<br>
<br>
<br>
--<br>
<br>
<br>
<br>
<br>
Regards<br>
Abhishek Paliwal<br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</font></span></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>