Daniele Antolini
2017-Feb-21 10:18 UTC
[Gluster-users] Question about heterogeneous bricks
Hi all, first of all, nice to meet you. I'm new here and I'm subscribing to do a very simple question. I don't understand completely how, in a distributed with replica environment, heterogeneous bricks are involved. I've just done a test with four bricks: gluster1 1 GB gluster2 2 GB gluster3 5 GB gluster4 3 GB Each partition is mounted locally at /opt/data I've created a gluster volume with: gluster volume create gv0 replica 2 gluster1:/opt/data/gv0 gluster2:/opt/data/gv0 gluster3:/opt/data/gv0 gluster4:/opt/data/gv0 and then mounted on a client: testgfs1:/gv0 4,0G 65M 4,0G 2% /mnt/test I see 4 GB of free space but I cannot understand how this space has been allocated. Can please someone explain to me how this can happened? Thanks a lot Daniele -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170221/7f006329/attachment.html>
I think, gluster1 and gluster2 became a replica pair. Smallest size between them is affective size (1GB) Same for gluster3 and gluster4 (3GB). Total 4GB space available. This is just a guest though.. On Tue, Feb 21, 2017 at 1:18 PM, Daniele Antolini <lantuin at gmail.com> wrote:> Hi all, > > first of all, nice to meet you. I'm new here and I'm subscribing to do a > very simple question. > > I don't understand completely how, in a distributed with replica > environment, heterogeneous bricks are involved. > > I've just done a test with four bricks: > > gluster1 1 GB > gluster2 2 GB > gluster3 5 GB > gluster4 3 GB > > Each partition is mounted locally at /opt/data > > I've created a gluster volume with: > > gluster volume create gv0 replica 2 gluster1:/opt/data/gv0 > gluster2:/opt/data/gv0 gluster3:/opt/data/gv0 gluster4:/opt/data/gv0 > > and then mounted on a client: > > testgfs1:/gv0 4,0G 65M 4,0G 2% /mnt/test > > I see 4 GB of free space but I cannot understand how this space has been > allocated. > Can please someone explain to me how this can happened? > > Thanks a lot > > Daniele > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users