[Gluster-users] Create a volume with one brick
driver at megahappy.net
Tue Jul 30 18:20:24 UTC 2013
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.
2) create your volume
gluster volume create MyVolume localhost:/var/gluster
gluster volume start MyVolume
3) mount with fuse to another directory
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 <gregor at aeppelbroe.de> wrote:
> 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,
> Gluster-users mailing list
> Gluster-users at gluster.org
More information about the Gluster-users