<div dir="ltr">Hi Atin,<div><br></div><div>First of all I am not sure how the datacenter cluster nodes boot. </div><div><br></div><div>My assumption is that cluster nodes boot from their local disk.  Let suppose each node has some number of HDDs and one of that is boot disk.  Gluster is running on each node to distribute the storage(except boot disk).   Here i am thinking whether is there way  to run gluster on boot disk so that i can recover the boot disk  failure also (with replicated volume). </div><div><br></div><div>My idea is to get kernel and modified initrd image(with gluster and all dependencies)  from the network and mount gluster volume as a root file system.</div><div><br></div><div>Sateesh</div><div>  </div><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 14, 2015 at 7:58 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">I don&#39;t think this is possible. I&#39;d like to what why do you want to use<br>
use a root file system as a Gluster volume, what&#39;s your use case.<br>
Technically this is impossible (wrt GlusterD) as we then have no way to<br>
segregate the configuration data.<br>
<br>
~Atin<br>
<span class=""><br>
On 10/15/2015 12:09 AM, satish kondapalli wrote:<br>
&gt; is anyone has any thoughts on this?<br>
&gt;<br>
&gt; Sateesh<br>
&gt;<br>
&gt; On Tue, Oct 13, 2015 at 5:44 PM, satish kondapalli<br>
</span><span class="">&gt; &lt;<a href="mailto:nitw.satish@gmail.com">nitw.satish@gmail.com</a> &lt;mailto:<a href="mailto:nitw.satish@gmail.com">nitw.satish@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     I want to mount  gluster volume as a root file system for my node.<br>
&gt;<br>
&gt;     Node will boot from network( only kernel and initrd images) but my<br>
&gt;     root file system has to be one of the gluster volume ( bricks of the<br>
&gt;     volume are on the disks which are attached to the same node).<br>
&gt;     Gluster configuration files also part of the root file system.<br>
&gt;<br>
&gt;     Here i am facing chicken and egg problem.  Initially i thought to<br>
&gt;     keep glusterfs libs, binary in the initrd and start the gluster<br>
&gt;     server as part of initrd execution. But for mounting root file<br>
&gt;     system (which is a gluster volume), all the gluster configuration<br>
&gt;     files are stored in the root file system. My assumption is, without<br>
&gt;     gluster configuration files(/var/lib/glusterd/xx) gluster will not<br>
&gt;     find any volumes.<br>
&gt;<br>
&gt;     Can someone help me on this?<br>
&gt;<br>
&gt;     Sateesh<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span>&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">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>
</blockquote></div><br></div></div></div>