Numbers of bricks is not a multiple of replica count - glusterfs
I have 10 servers and want to use all as storage so tried to create volume with following command but its throwing error
gluster volume create gv0 replica 3 server1:/data/brick1/gv0 server2:/data/brick1/gv0 server3:/data/brick1/gv0 server4:/data/brick1/gv0 server5:/data/brick1/gv0 server6:/data/brick1/gv0 server7:/data/brick1/gv0 server8:/data/brick1/gv0 server9:/data/brick1/gv0 server10:/data/brick1/gv0
and it throws error
Numbers of bricks is not a multiple of replica count
what's recommendation in this scenario?
it look like if i create with replica 2 it will succeed, so what would be difference in my scenario if i create volume with replica 2 or replica 3(i am assuming i will use 9 bricks here) on 10 brick?
In replica 2 with 10 brick scenario will i face split brain issue?
To store 3 copies of everything, you need 3N disks. 10 is not a multiple of 3.
3 copies seems like overkill, especially if they are all in the same building -- that is subject to the same fire, flood, earthquake, hurricane, or whatever. Or can you spread them out geographically?