<p dir="ltr"></p>
<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On 20-May-2016 5:34 PM, &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com">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.</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.<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">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">Gluster-users@gluster.org</a><br>
&gt;&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">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">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
 </p>
<p dir="ltr">-Atin<br>
Sent from one plus one</p>