<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div>Thank you for your reply. Still need a bit of clarification.</div><div><br></div><div style="background-color: transparent;">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?</div><div><span></span></div><div style="background-color: transparent;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">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.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size:
13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">Am I thinking about this in the wrong way?</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div> <div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Lalatendu Mohanty <lmohanty@redhat.com><br>
<b><span style="font-weight: bold;">To:</span></b> Jake G. <dj_dark_junglist@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "gluster-users@gluster.org" <gluster-users@gluster.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 25, 2013 3:10 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Gluster-users] Explaination needed - Distributed Replicated volume<br> </font> </div> <div class="y_msg_container"><br><div id="yiv2865649148">
<div>
<div class="yiv2865649148moz-cite-prefix">On 09/25/2013 10:52 AM, Jake G. wrote:<br>
</div>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 10pt;">
<div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">HI all,</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"><br>
</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I have created a Distributed
Replicated volume across 2 glusterfs servers.</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color:transparent;">Type:
Distributed-Replicate</span></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Status: Started</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Number of Bricks: 2 x
2 = 4</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Transport-type: tcp</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Bricks:</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Brick1:
glusterfs-01:/mnt/glusterfs-data/brick1</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Brick2:
glusterfs-02:/mnt/glusterfs-data/brick1</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Brick3:
glusterfs-01:/mnt/glusterfs-data/brick2</font></div>
<div style="background-color:transparent;"><font size="2" face="tahoma, new york, times, serif">Brick4:
glusterfs-02:/mnt/glusterfs-data/brick2</font></div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">If each gluster server gives
100GB to the volume. What is the total size of the volume
going to be? 200GB?</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
</div>
</blockquote>
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<font size="2" face="tahoma, new york, times, serif"><br>
</font>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 10pt;">
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Say I copy a 20GB file to
the volume. what would my available size be? 180GB or 160GB?</div>
</div>
</blockquote>
If you copy 20GB file, the available size would be 180GB. <br>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 10pt;">
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Is there a command to view
available sizes, usage, etc.. perhaps?</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
</div>
</div>
</blockquote>
If you have mounted it on Linux "df" command should help you.<br>
<br>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 10pt;">
<div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am a bit confused. Thank
you!</div>
</div>
<br>
<fieldset class="yiv2865649148mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Gluster-users mailing list
<a rel="nofollow" class="yiv2865649148moz-txt-link-abbreviated" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a rel="nofollow" class="yiv2865649148moz-txt-link-freetext" target="_blank" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</div>
</div><br><br></div> </div> </div> </div></body></html>