[Gluster-users] How to set up a 4 way gluster file system
ksubrahm at redhat.com
Fri Apr 27 06:05:36 UTC 2018
With replica 2 volumes one can easily end up in split-brains if there are
frequent disconnects and high IOs going on.
If you use replica 3 or arbiter volumes, it will guard you by using the
quorum mechanism giving you both consistency and availability.
But in replica 2 volumes, quorum does not make sense since it needs both
the nodes up to guarantee consistency, which costs availability.
If you can consider having a replica 3 or arbiter volumes it would be
great. Otherwise you can anyway go ahead and continue with the replica 2
by selecting *y* for the warning message. It will create the replica 2
configuration as you wanted.
On Fri, Apr 27, 2018 at 10:56 AM, Thing <thing.thing at gmail.com> wrote:
> I have 4 servers each with 1TB of storage set as /dev/sdb1, I would like
> to set these up in a raid 10 which will? give me 2TB useable. So Mirrored
> and concatenated?
> The command I am running is as per documents but I get a warning error,
> how do I get this to proceed please as the documents do not say.
> gluster volume create gv0 replica 2 glusterp1:/bricks/brick1/gv0
> glusterp2:/bricks/brick1/gv0 glusterp3:/bricks/brick1/gv0
> Replica 2 volumes are prone to split-brain. Use Arbiter or Replica 3 to
> avoid this. See: http://docs.gluster.org/en/latest/Administrator%20Guide/
> Do you still want to continue?
> (y/n) n
> volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT> [arbiter
> <COUNT>]] [disperse [<COUNT>]] [disperse-data <COUNT>] [redundancy <COUNT>]
> [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK>?<vg_name>... [force]
> [root at glustep1 ~]#
> Gluster-users mailing list
> Gluster-users at gluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users