Distributed is the default, and replicated distributes as long as there are at least twice the number of bricks as your replication level.
For example...
gluster volume create gv0 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0
...distributes files across all three servers/bricks.
gluster volume create gv0 replica 3 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0
gluster volume create gv0 replica 2 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0 server4:/data/brick1/gv0
On 8 February 2017 at 06:12, Dave Fan <dave.fan@xxxxxxxxxx> wrote:
Hi,I'm new to Gluster so a very basic question. Are all volumes distributed by default? Is there a switch to turn this feature on/off?I ask this because in an intro to Gluster I saw "Replicated Volume" and "Distributed Replicated Volume". Is the first type, "Replicated Volume", not distributed?Many thanks,Dave
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users