<p dir="ltr">Il 09 nov 2016 1:23 AM, &quot;Joe Julian&quot; &lt;<a href="mailto:joe@julianfamily.org">joe@julianfamily.org</a>&gt; ha scritto:<br>
&gt;<br>
&gt; Replicas are defined in the order bricks are listed in the volume create command. So gluster volume create myvol replica 2 server1:/data/brick1 server2:/data/brick1 server3:/data/brick1 server4:/data/brick1 will replicate between server1 and server2 and replicate between server3 and server4.<br>
&gt;<br>
&gt; See also <a href="https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/">https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/</a><br>
&gt;</p>
<p dir="ltr">i really hope this could be automated in newer gluster versions<br>
There is almost no sense to make a replica on the same server so gluster<br>
should automatically move bricks to preserve data consistency when adding servers.</p>
<p dir="ltr">Ceph does this by moving objects around and you don&#39;t have to add servers in a multiple of replica</p>
<p dir="ltr">the rebalance command could be used to rebalance newly added bricks by preserving replicas in a proper state </p>