<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/25/2013 10:52 AM, Jake G. wrote:<br>
</div>
<blockquote
cite="mid:1380086525.78980.YahooMailNeo@web163001.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; 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
cite="mid:1380086525.78980.YahooMailNeo@web163001.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; 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
cite="mid:1380086525.78980.YahooMailNeo@web163001.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; 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
cite="mid:1380086525.78980.YahooMailNeo@web163001.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; 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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>