<div dir="ltr">Hi,<div><br></div><div>Ideally, both bricks in a replica set should be of the same size.</div><div><br></div><div>Ravi, can you confirm?</div><div><br></div><div>Regards,</div><div>Nithya</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 February 2017 at 16:05, Daniele Antolini <span dir="ltr"><<a href="mailto:lantuin@gmail.com" target="_blank">lantuin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Serkan, <div><br></div><div>thanks a lot for the answer.</div><div><br></div><div>So, if you are correct, in a distributed with replica environment the best practice is to pair nodes with the smallest size together?</div><div><br></div><div>For example:</div><div><br></div><div>node1 1 GB</div><div>node2 10 GB</div><div>node3 4 GB</div><div>node4 8 GB</div><div>node5 15 GB</div><div>node6 7 GB</div><div><br></div><div>So:</div><div><br></div><div>node1 with node3 (smallest is 1 GB)</div><div>node4 with node6 (smallest is 7 GB)</div><div>node2 with node5 (smallest is 10 GB)</div><div><br></div><div>The command to launch:</div><div><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px">gluster volume create gv0 replica 2 node1:/opt/data/gv0</span><span style="color:rgb(80,0,80);font-size:12.8px"> node3:/<wbr>opt/data/gv0 node4:/opt/data/gv0 node6:/opt/data/gv0 node2:/opt/data/gv0 node5:/opt/data/gv0</span><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div><div><font color="#500050"><span style="font-size:12.8px">Right? In this way I should have 18 GB of free space on the mounted volume (1 GB + 7 GB + 10 GB)</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div><div><font color="#500050"><span style="font-size:12.8px"><br></span></font></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-02-21 11:30 GMT+01:00 Serkan Çoban <span dir="ltr"><<a href="mailto:cobanserkan@gmail.com" target="_blank">cobanserkan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think, gluster1 and gluster2 became a replica pair. Smallest size<br>
between them is affective size (1GB)<br>
Same for gluster3 and gluster4 (3GB). Total 4GB space available. This<br>
is just a guest though..<br>
<div><div class="m_-1846375046892647323h5"><br>
On Tue, Feb 21, 2017 at 1:18 PM, Daniele Antolini <<a href="mailto:lantuin@gmail.com" target="_blank">lantuin@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> first of all, nice to meet you. I'm new here and I'm subscribing to do a<br>
> very simple question.<br>
><br>
> I don't understand completely how, in a distributed with replica<br>
> environment, heterogeneous bricks are involved.<br>
><br>
> I've just done a test with four bricks:<br>
><br>
> gluster1 1 GB<br>
> gluster2 2 GB<br>
> gluster3 5 GB<br>
> gluster4 3 GB<br>
><br>
> Each partition is mounted locally at /opt/data<br>
><br>
> I've created a gluster volume with:<br>
><br>
> gluster volume create gv0 replica 2 gluster1:/opt/data/gv0<br>
> gluster2:/opt/data/gv0 gluster3:/opt/data/gv0 gluster4:/opt/data/gv0<br>
><br>
> and then mounted on a client:<br>
><br>
> testgfs1:/gv0 4,0G 65M 4,0G 2% /mnt/test<br>
><br>
> I see 4 GB of free space but I cannot understand how this space has been<br>
> allocated.<br>
> Can please someone explain to me how this can happened?<br>
><br>
> Thanks a lot<br>
><br>
> Daniele<br>
><br>
><br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
> <a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>