This is done all the time for testing and it is really easy.

install the RPM's, start up the glusterd service.

1) make a directory for gluster to use. Never touch anything in this directory.
mkdir /var/gluster

2) create your volume
gluster volume create MyVolume localhost:/var/gluster
gluster volume start MyVolume

3) mount with fuse to another directory
mkdir /a
mount.glusterfs localhost:MyVolume /a

When you write files to /a the files will get written to the brick
which is /var/gluster in this example.

You now have a test. Enjoy.


On Tue, Jul 30, 2013 at 7:53 AM, Gregor Burck <[email protected]> wrote:
> Hi,
>
> i wonder if it's possible to create a volume with one brick.
> I know it is strange to use a clusterfilesystem with one machine, but it 
> could be helpfull for testing or change a brick if there are only two,...
>
> Is there a tric to do it? Maybe with a additional virtuell interface, so the 
> current machine've two IP addresses?
>
> Tank you for information,
>
> Gregor
> --
>
>
>
> _______________________________________________
> Gluster-users mailing list
> [email protected]
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to