I guess I find a solution:
1. add a additional virtual interface with an own IP
2. create two folder to export
3. volume create test replica 2 IP1:/folder1 IP2:/folder2
It seem to work, so I only need one machine,... and if necessary I could add a
other brick of an other machine.
Bye
Gregor
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
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
If you're trying to build a cluster win just one machine, have a look at
'tests/cluster.rc' in the glusterfs source repo. It is used for some tests
that require a cluster in the gluster regression test suite.
~kaushal
___
Gluster-users mailing list