<br><br><div class="gmail_quote">2009/3/28 Simon Liang <span dir="ltr">&lt;<a href="mailto:simonl@bigair.net.au">simonl@bigair.net.au</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>


<p><font size="2">Well currently I&#39;ve got 4 servers set up.<br>
        |- ServerA -AFR-&gt; ServerB<br>
Client -|<br>
        |- ServerC -AFR-&gt; ServerD<br>
<br>
I keep copying the same 1GB file to the storage, but it always writes to ServerC no matter what I do. Is there anything I can do to fix this? Add scheduler?<div class="im"></div></font></p></div></blockquote><div><br>My understanding is that distribute uses a hash to do the distribution.  So, if you copy the same file, you will get the same result every time; that is, it will go to the same server every time.  Hashing is deterministic in that sense.  Vikas or someone else may clarify if I have things wrong here....<br>
<br>Sean<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p><font size="2"><div class="im"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:vikasgp@gmail.com" target="_blank">vikasgp@gmail.com</a> on behalf of Vikas Gorur<br></div><div class="im">
Sent: Sat 3/28/2009 3:53 PM<br>
To: Simon Liang<br>
Cc: gluster-users<br>
Subject: Re: [Gluster-users] Distrbute AFR Storage<br>
<br></div><div class="im">
2009/3/28 Simon Liang &lt;<a href="mailto:simonl@bigair.net.au" target="_blank">simonl@bigair.net.au</a>&gt;:<br>
&gt; How can I configure it so it writes it evenly to both servers, keeping the<br>
&gt; free disk space even?<br>
<br>
Distribute by default will distribute _files_ evenly among its<br>
subvolumes. However, if one of the files is larger than the disk space<br>
available on the node it gets scheduled to, then distribute can do<br>
nothing. If you regularly want to store big files which might not fit<br>
on one of your subvolumes, you might want to try the &#39;stripe&#39;<br>
translator.<br>
<br>
Vikas<br>
--<br>
Engineer - Z Research<br>
<a href="http://gluster.com/" target="_blank">http://gluster.com/</a><br>
<br></div><div class="im">
No virus found in this incoming message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br></div>
Version: 8.0.238 / Virus Database: 270.11.29/2024 - Release Date: 03/27/09 18:51:00<br>
<br>
</font>
</p>

</div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br>