Jake G.
2013-Sep-25 05:22 UTC
[Gluster-users] Explaination needed - Distributed Replicated volume
HI all, I have created a?Distributed Replicated volume across 2 glusterfs servers. Type: Distributed-Replicate Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: glusterfs-01:/mnt/glusterfs-data/brick1 Brick2: glusterfs-02:/mnt/glusterfs-data/brick1 Brick3: glusterfs-01:/mnt/glusterfs-data/brick2 Brick4: glusterfs-02:/mnt/glusterfs-data/brick2 If each gluster server gives 100GB to the volume. What is the total size of the volume going to be? 200GB? Say I copy a 20GB file to the volume. what would my available size be? 180GB or 160GB? Is there a command to view available sizes, usage, etc.. perhaps? I am a bit confused. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130924/2418a296/attachment.html>
Lalatendu Mohanty
2013-Sep-25 05:40 UTC
[Gluster-users] Explaination needed - Distributed Replicated volume
On 09/25/2013 10:52 AM, Jake G. wrote:> HI all, > > I have created a Distributed Replicated volume across 2 glusterfs servers. > > Type: Distributed-Replicate > Status: Started > Number of Bricks: 2 x 2 = 4 > Transport-type: tcp > Bricks: > Brick1: glusterfs-01:/mnt/glusterfs-data/brick1 > Brick2: glusterfs-02:/mnt/glusterfs-data/brick1 > Brick3: glusterfs-01:/mnt/glusterfs-data/brick2 > Brick4: glusterfs-02:/mnt/glusterfs-data/brick2 > > If each gluster server gives 100GB to the volume. What is the total > size of the volume going to be? 200GB? >The available size of the volume will be 200GB. Because you have a 2X2 replicated volume. This means you have 2 pair of replicas. Brick "Brick1: glusterfs-01:/mnt/glusterfs-data/brick1" and "Brick2: glusterfs-02:/mnt/glusterfs-data/brick1" are a replica pair and they are mirror copy of each other. Effectively you will get 100 GB from these two bricks . Similarly from the other pair you will get 100GB. Total available size will be 200GB> Say I copy a 20GB file to the volume. what would my available size be? > 180GB or 160GB?If you copy 20GB file, the available size would be 180GB.> > Is there a command to view available sizes, usage, etc.. perhaps? > >If you have mounted it on Linux "df" command should help you.> I am a bit confused. Thank you! > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130925/faddb576/attachment.html>