<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 5, 2016 at 2:22 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><br>
<br>
On 04/05/2016 01:04 PM, ABHISHEK PALIWAL wrote:<br>
&gt; Hi Team,<br>
&gt;<br>
&gt; We are using Gluster 3.7.6 and facing one problem in which brick is not<br>
&gt; comming online after restart the board.<br>
&gt;<br>
&gt; To understand our setup, please look the following steps:<br>
&gt; 1. We have two boards A and B on which Gluster volume is running in<br>
&gt; replicated mode having one brick on each board.<br>
&gt; 2. Gluster mount point is present on the Board A which is sharable<br>
&gt; between number of processes.<br>
&gt; 3. Till now our volume is in sync and everthing is working fine.<br>
&gt; 4. Now we have test case in which we&#39;ll stop the glusterd, reboot the<br>
&gt; Board B and when this board comes up, starts the glusterd again on it.<br>
&gt; 5. We repeated Steps 4 multiple times to check the reliability of system.<br>
&gt; 6. After the Step 4, sometimes system comes in working state (i.e. in<br>
&gt; sync) but sometime we faces that brick of Board B is present in<br>
&gt;     “gluster volume status” command but not be online even waiting for<br>
&gt; more than a minute.<br>
</span>As I mentioned in another email thread until and unless the log shows<br>
the evidence that there was a reboot nothing can be concluded. The last<br>
log what you shared with us few days back didn&#39;t give any indication<br>
that brick process wasn&#39;t running.<br></blockquote><div>How can we identify that the brick process is running in brick logs? <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span>&gt; 7. When the Step 4 is executing at the same time on Board A some<br>
&gt; processes are started accessing the files from the Gluster mount point.<br>
&gt;<br>
&gt; As a solution to make this brick online, we found some existing issues<br>
&gt; in gluster mailing list giving suggestion to use “gluster volume start<br>
&gt; &lt;vol_name&gt; force” to make the brick &#39;offline&#39; to &#39;online&#39;.<br>
&gt;<br>
&gt; If we use “gluster volume start &lt;vol_name&gt; force” command. It will kill<br>
&gt; the existing volume process and started the new process then what will<br>
&gt; happen if other processes are accessing the same volume at the time when<br>
&gt; volume process is killed by this command internally. Will it impact any<br>
&gt; failure on these processes?<br>
</span>This is not true, volume start force will start the brick processes only<br>
if they are not running. Running brick processes will not be interrupted.<br></blockquote><div>we have tried and check the pid of process before force start and after force start.<br></div><div>the pid has been changed after force start.<br><br></div><div>Please find the logs at the time of failure attached once again with log-level=debug.<br><br></div><div>if you can give me the exact line where you are able to find out that the brick process<br></div><div>is running in brick log file please give me the line number of that file.<br></div><div><br></div><div>002500 - Board B that brick is offline<br></div><div>00300 - Board A logs<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt;<br>
&gt; *Question : What could be contributing to brick offline?*<br>
&gt;<br>
<span><font color="#888888">&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Regards<br>
&gt; Abhishek Paliwal<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
&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;<br>
</font></span></blockquote></div><br><br clear="all"><br></div></div>