<div dir="ltr"><div><div><div>Please check the cmd-history file in attached logs of the Board A in which we are removing-brick at 11:56:48 because at this time after waiting for 1 minute brick was not online.<br><br></div>So, We need to identify near to this time why brick is not online.<br><br></div><div>Because If brick will be online we will not remove-brick and if we remove brick, volume become distributed which will also cause problem in our case.<br></div><div><br>Regards,<br></div></div>Abhishek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 1, 2016 at 4:08 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 04/01/2016 03:57 PM, ABHISHEK PALIWAL wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Apr 1, 2016 at 3:39 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 04/01/2016 03:06 PM, ABHISHEK PALIWAL wrote:<br>
&gt;     &gt;<br>
&gt;     &gt; On Fri, Apr 1, 2016 at 2:59 PM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
</span><span class="">&gt;     &gt; &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
</span><div><div class="h5">&gt;     &gt;     On 04/01/2016 02:55 PM, ABHISHEK PALIWAL wrote:<br>
&gt;     &gt;     &gt; Hi Atin,<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Thanks for reply.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Could you please help me to identify the error log in the respective<br>
&gt;     &gt;     &gt; brick log file. I tried but not able to identified where the problem is<br>
&gt;     &gt;     &gt; occuring.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; I am attaching the brick log file which is not coming online even after<br>
&gt;     &gt;     &gt; waiting for 1 minute.<br>
&gt;     &gt;     What time did you reboot B? Could you also attach glusterd log file<br>
&gt;     &gt;     (complete log) for board B?<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; it is hard to say at what time we rebooted the B board because we are<br>
&gt;     &gt; continuously rebooting the board B.<br>
&gt;     &gt;<br>
&gt;     &gt; Here I am attaching the glusterd and glsuterfs log for board B.<br>
&gt;     I can see the last restart of glusterd was at 13:11:27 and as per the<br>
&gt;     brick log there was no restart. This doesn&#39;t look like a reboot of the<br>
&gt;     board as in that case brick process should have also died and restarted.<br>
&gt;     Brick log indicates that the process is still running and there is no<br>
&gt;     interruption.<br>
&gt;<br>
&gt; In brick log file at 13:11:27 we have the logs showing reboot of board<br>
&gt;<br>
&gt; [2016-03-31 13:11:27.408512] I [MSGID: 115036]<br>
&gt; [server.c:552:server_rpc_notify] 0-c_glusterfs-server: disconnecting<br>
&gt; connection from<br>
&gt; 002500-10939-2016/03/31-11:56:52:528771-c_glusterfs-client-11-0-0<br>
&gt; [2016-03-31 13:11:27.408603] I [MSGID: 101055]<br>
&gt; [client_t.c:419:gf_client_unref] 0-c_glusterfs-server: Shutting down<br>
&gt; connection<br>
&gt; 002500-10939-2016/03/31-11:56:52:528771-c_glusterfs-client-11-0-0<br>
</div></div>FYI..this log indicates client disconnection.<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     &gt; Regards,<br>
&gt;     &gt;     &gt; Abhishek<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; On Fri, Apr 1, 2016 at 1:04 PM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt;<br>
&gt;     &gt;     &gt; &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a> &lt;mailto:<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;&gt;&gt;&gt; wrote:<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     On 04/01/2016 12:10 PM, ABHISHEK PALIWAL wrote:<br>
&gt;     &gt;     &gt;     &gt; Hi,<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; I have the setup of two boards A and B with two bricks in<br>
&gt;     &gt;     replica mode.<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; There is one test scenario<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; 1. A acts as an active board and having the glusterfs<br>
&gt;     mount<br>
&gt;     &gt;     point on it.<br>
&gt;     &gt;     &gt;     &gt; 2. B acts as Passive board.<br>
&gt;     &gt;     &gt;     &gt; 3. We are repetitively rebooting the B board (In this time<br>
&gt;     &gt;     period peer<br>
&gt;     &gt;     &gt;     &gt; status on A board will be &quot;peer in cluster (Disconnected)&quot;<br>
&gt;     &gt;     and brick is<br>
&gt;     &gt;     &gt;     &gt; not present in &quot;gluster volume status&quot;) and when Board B<br>
&gt;     &gt;     comes up,<br>
&gt;     &gt;     &gt;     &gt; starts the gluster daemon.<br>
&gt;     &gt;     &gt;     &gt; 4. if Gluster daemon starts successfully it will make<br>
&gt;     &quot;peer in<br>
&gt;     &gt;     &gt;     &gt; cluster(Connected)&quot;<br>
&gt;     &gt;     &gt;     &gt; 5. At the same with the immediate effect &quot;gluster volume<br>
&gt;     &gt;     status&quot; command<br>
&gt;     &gt;     &gt;     &gt; should show the brick is available in online.<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; But in my case sometime step 5 takes immediate reflection<br>
&gt;     &gt;     sometime 10-15<br>
&gt;     &gt;     &gt;     &gt; second and sometime doesn&#39;t show brick is online even<br>
&gt;     after<br>
&gt;     &gt;     the 1minute.<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; Could you please confirm why this type of unpredictable<br>
&gt;     &gt;     behavior is<br>
&gt;     &gt;     &gt;     &gt; occuring. It should be reflect with immediate effect in<br>
&gt;     &gt;     &quot;gluster volume<br>
&gt;     &gt;     &gt;     &gt; status&quot; command.<br>
&gt;     &gt;     &gt;     When glusterd restarts bricks processes are brought up<br>
&gt;     &gt;     asynchronously<br>
&gt;     &gt;     &gt;     and hence you may not see the brick processes reflecting in<br>
&gt;     &gt;     gluster<br>
&gt;     &gt;     &gt;     volume status output immediately after restart. 5-10<br>
&gt;     seconds is an<br>
&gt;     &gt;     &gt;     accepted time frame. However if it doesn&#39;t come back online<br>
&gt;     &gt;     post that<br>
&gt;     &gt;     &gt;     then probably brick fails to start in that case.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     Please check the respective brick log file and if you<br>
&gt;     can find<br>
&gt;     &gt;     any error<br>
&gt;     &gt;     &gt;     logs in it.<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; --<br>
&gt;     &gt;     &gt;     &gt; Regards<br>
&gt;     &gt;     &gt;     &gt; Abhishek Paliwal<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;     &gt; _______________________________________________<br>
&gt;     &gt;     &gt;     &gt; Gluster-devel mailing list<br>
&gt;     &gt;     &gt;     &gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt; &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;&gt;<br>
&gt;     &gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt; &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;&gt;&gt;<br>
&gt;     &gt;     &gt;     &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><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;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; Regards<br>
&gt;     &gt;     &gt; Abhishek Paliwal<br>
&gt;     &gt;<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>