<div dir="rtl"><div dir="ltr">Hi.<br><br>I&#39;m going to try DHT too, any idea if the next copies would go to another server?<br><br>Or the client would retry to write the file to same server every time, and return the disk full error?<br>
<br>Regards.<br></div><div><br><div class="gmail_quote"><div dir="ltr">2009/3/28 Simon Liang <span dir="ltr">&lt;<a href="mailto:simonl@bigair.net.au">simonl@bigair.net.au</a>&gt;</span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">






<div>


<p><font size="2">Is there a way to use a round-robin or something, as opposed to hash?<br>
<br>
The problem with distribute is that it does not know the disk has run out of space, until it&#39;s starting copying and run out of space.<br>
Can this be avoided?<div class="im"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:seandavi@gmail.com" target="_blank">seandavi@gmail.com</a> on behalf of Sean Davis<br>
Sent: Sat 3/28/2009 9:51 PM<br>
To: Simon Liang<br></div><div><div></div><div class="h5">
Cc: Vikas Gorur; gluster-users<br>
Subject: Re: [Gluster-users] Distrbute AFR Storage<br>
<br>
<br>
<br>
2009/3/28 Simon Liang &lt;<a href="mailto:simonl@bigair.net.au" target="_blank">simonl@bigair.net.au</a>&gt;<br>
<br>
<br>
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?<br>
<br>
<br>
<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>
<br>
<br>
<br>
<br>
<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>
<br>
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>
<br>
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>
<br>
No virus found in this incoming message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
<br>
Version: 8.0.238 / Virus Database: 270.11.29/2024 - Release Date: 03/27/09 18:51:00<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">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>
<br>
<br>
<br>
No virus found in this incoming message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
Version: 8.0.238 / Virus Database: 270.11.29/2024 - Release Date: 03/27/09 18:51:00<br>
<br>
<br>
</div></div></font>
</p>

</div>
</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></div></div>