Re: [Gluster-users] [Gluster-devel] Glusterfs as a root file system on the same node

2015-10-15 Thread satish kondapalli
Hi Atin,

First of all I am not sure how the datacenter cluster nodes boot.

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).

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.

Sateesh

On Wed, Oct 14, 2015 at 7:58 PM, Atin Mukherjee  wrote:

> I don't think this is possible. I'd like to what why do you want to use
> use a root file system as a Gluster volume, what's your use case.
> Technically this is impossible (wrt GlusterD) as we then have no way to
> segregate the configuration data.
>
> ~Atin
>
> On 10/15/2015 12:09 AM, satish kondapalli wrote:
> > is anyone has any thoughts on this?
> >
> > Sateesh
> >
> > On Tue, Oct 13, 2015 at 5:44 PM, satish kondapalli
> > > wrote:
> >
> > Hi,
> >
> > I want to mount  gluster volume as a root file system for my node.
> >
> > Node will boot from network( only kernel and initrd images) but my
> > root file system has to be one of the gluster volume ( bricks of the
> > volume are on the disks which are attached to the same node).
> > Gluster configuration files also part of the root file system.
> >
> > Here i am facing chicken and egg problem.  Initially i thought to
> > keep glusterfs libs, binary in the initrd and start the gluster
> > server as part of initrd execution. But for mounting root file
> > system (which is a gluster volume), all the gluster configuration
> > files are stored in the root file system. My assumption is, without
> > gluster configuration files(/var/lib/glusterd/xx) gluster will not
> > find any volumes.
> >
> > Can someone help me on this?
> >
> > Sateesh
> >
> >
> >
> >
> > ___
> > Gluster-devel mailing list
> > gluster-de...@gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-devel
> >
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] [Gluster-devel] Glusterfs as a root file system on the same node

2015-10-14 Thread satish kondapalli
is anyone has any thoughts on this?

Sateesh

On Tue, Oct 13, 2015 at 5:44 PM, satish kondapalli 
wrote:

> Hi,
>
> I want to mount  gluster volume as a root file system for my node.
>
> Node will boot from network( only kernel and initrd images) but my root
> file system has to be one of the gluster volume ( bricks of the volume are
> on the disks which are attached to the same node).  Gluster configuration
> files also part of the root file system.
>
> Here i am facing chicken and egg problem.  Initially i thought to keep
> glusterfs libs, binary in the initrd and start the gluster server as part
> of initrd execution. But for mounting root file system (which is a gluster
> volume), all the gluster configuration files are stored in the root file
> system. My assumption is, without gluster configuration
> files(/var/lib/glusterd/xx) gluster will not find any volumes.
>
> Can someone help me on this?
>
> Sateesh
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] [Gluster-devel] Glusterfs as a root file system on the same node

2015-10-13 Thread satish kondapalli
Hi,

I want to mount  gluster volume as a root file system for my node.

Node will boot from network( only kernel and initrd images) but my root
file system has to be one of the gluster volume ( bricks of the volume are
on the disks which are attached to the same node).  Gluster configuration
files also part of the root file system.

Here i am facing chicken and egg problem.  Initially i thought to keep
glusterfs libs, binary in the initrd and start the gluster server as part
of initrd execution. But for mounting root file system (which is a gluster
volume), all the gluster configuration files are stored in the root file
system. My assumption is, without gluster configuration
files(/var/lib/glusterd/xx) gluster will not find any volumes.

Can someone help me on this?

Sateesh
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users