Thank you for your reply. Still need a bit of clarification.
If I copy a 20GB file to the volume how can i still have 180GB left if the file
gets copied (mirrored) to both glusterfs servers?
My goal is to be able to have redundancy if one of the servers crashes while
also being able increase the total amount of available volume space.
Am I thinking about this in the wrong way?
________________________________
From: Lalatendu Mohanty <[email protected]>
To: Jake G. <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Wednesday, September 25, 2013 3:10 PM
Subject: Re: [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 [email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users