<p dir="ltr">Yes, you&#39;d need to construct everything from scratch in this case.</p>
<p dir="ltr">-Atin<br>
Sent from one plus one</p>
<div class="gmail_quote">On 23-May-2016 8:33 AM, &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Atin,<br><br></div>Thanks for your reply. But we fall in this situation then what is the solution to recover from here I have already remove /var/log/glusterd from one peer, should I need to remove /var/log/glusterd from both of the peers.<br><br></div>Regards,<br></div>Abhishek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 8:39 PM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:atin.mukherjee83@gmail.com" target="_blank">atin.mukherjee83@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"><p dir="ltr"></p>
<p dir="ltr">-Atin<br>
Sent from one plus one<span><br>
On 20-May-2016 5:34 PM, &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Actually we have some other files related to system initial configuration for that we<br>
&gt; need to format the volume where these bricks are also created and after this we are <br>
&gt; facing some abnormal behavior in gluster and some failure logs like volume ID mismatch something.<br>
&gt;<br>
&gt; That is why I am asking this is the right way to format volume where bricks are created.</span></p>
<p dir="ltr">No certainly not. If you format your brick, you loose the data and so as all the extended attributes. In this case your volume would bound to behave abnormally.</p><div><div><br>
&gt;<br>
&gt; and also is there any link between /var/lib/glusterd and xattr stored in .glusterfs directory at brick path.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
&gt;<br>
&gt; On Fri, May 20, 2016 at 5:25 PM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; And most importantly why would you do that? What&#39;s your use case Abhishek?<br>
&gt;&gt;<br>
&gt;&gt; On 05/20/2016 05:03 PM, Lindsay Mathieson wrote:<br>
&gt;&gt; &gt; On 20/05/2016 8:37 PM, ABHISHEK PALIWAL wrote:<br>
&gt;&gt; &gt;&gt; I am not getting any failure and after restart the glusterd when I run<br>
&gt;&gt; &gt;&gt; volume info command it creates the brick directory<br>
&gt;&gt; &gt;&gt; as well as .glsuterfs (xattrs).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; but some time even after restart the glusterd, volume info command<br>
&gt;&gt; &gt;&gt; showing no volume present.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Could you please tell me why this unpredictable problem is occurring.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Because as stated earlier you erase all the information about the<br>
&gt;&gt; &gt; brick?  How is this unpredictable?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; If you want to delete and recreate a brick you should have used the<br>
&gt;&gt; &gt; remove-brick/add-brick commands.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Lindsay Mathieson<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Gluster-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt;&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;&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>
&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" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
 </div></div><p></p>
<p dir="ltr">-Atin<br>
Sent from one plus one</p>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div>
</blockquote></div>