<div dir="ltr">Oops, I posted the wrong config for server :).<br><br>Here it is:<br><br>volume home1<br> type storage/posix                   # POSIX FS translator<br> option directory /media/storage        # Export this directory<br>
end-volume<br><br>volume posix-locks-home1<br> type features/posix-locks<br> option mandatory-locks on<br> subvolumes home1<br>end-volume<br><br>### Add network serving capability to above home.<br>volume server<br> type protocol/server<br>
 option transport-type tcp<br> subvolumes posix-locks-home1<br> option auth.addr.posix-locks-home1.allow * # Allow access to &quot;home1&quot; volume<br>end-volume<br><br><div class="gmail_quote">2009/4/2 Steve <span dir="ltr">&lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</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;"><br>
-------- Original-Nachricht --------<br>
&gt; Datum: Thu, 2 Apr 2009 13:36:09 +0300<br>
<div><div></div><div class="h5">&gt; Von: Stas Oskin &lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt;<br>
&gt; An: Steve &lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;<br>
&gt; CC: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; Betreff: Re: [Gluster-users] Broken AFR - DU / DF - part 2<br>
<br>
&gt; Nope, only on client - client-sided AFR.<br>
&gt;<br>
&gt; The servers are not aware one of each other.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt; 2009/4/2 Steve &lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; -------- Original-Nachricht --------<br>
&gt; &gt; &gt; Datum: Thu, 2 Apr 2009 13:11:20 +0300<br>
&gt; &gt; &gt; Von: Stas Oskin &lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt;<br>
&gt; &gt; &gt; An: Steve &lt;<a href="mailto:steeeeeveee@gmx.net">steeeeeveee@gmx.net</a>&gt;<br>
&gt; &gt; &gt; CC: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; Betreff: Re: [Gluster-users] Broken AFR - DU / DF - part 2<br>
&gt; &gt;<br>
&gt; &gt; &gt; GlusterFS 2 rc7<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Server vol:<br>
&gt; &gt; &gt; ## Reference volume &quot;home1&quot; from remote server<br>
&gt; &gt; &gt; volume home1<br>
&gt; &gt; &gt;  type protocol/client<br>
&gt; &gt; &gt;  option transport-type tcp/client<br>
&gt; &gt; &gt;  option remote-host 192.168.253.41      # IP address of remote host<br>
&gt; &gt; &gt;  option remote-subvolume posix-locks-home1     # use home1 on remote<br>
&gt; host<br>
&gt; &gt; &gt;  option transport-timeout 10           # value in seconds; it should<br>
&gt; be<br>
&gt; &gt; &gt; set<br>
&gt; &gt; &gt; relatively low<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ## Reference volume &quot;home2&quot; from remote server<br>
&gt; &gt; &gt; volume home2<br>
&gt; &gt; &gt;  type protocol/client<br>
&gt; &gt; &gt;  option transport-type tcp/client<br>
&gt; &gt; &gt;  option remote-host 192.168.253.42      # IP address of remote host<br>
&gt; &gt; &gt;  option remote-subvolume posix-locks-home1     # use home1 on remote<br>
&gt; host<br>
&gt; &gt; &gt;  option transport-timeout 10           # value in seconds; it should<br>
&gt; be<br>
&gt; &gt; &gt; set<br>
&gt; &gt; &gt; relatively low<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; volume home<br>
&gt; &gt; &gt;  type cluster/afr<br>
&gt; &gt; &gt;  option metadata-self-heal on<br>
&gt; &gt; &gt;  subvolumes home1 home2<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
</div></div>But this volume here uses AFR in the server vol file. For me this looks like server side AFR.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
&gt; &gt; &gt; Client vol:<br>
&gt; &gt; &gt; ## Reference volume &quot;home1&quot; from remote server<br>
&gt; &gt; &gt; volume home1<br>
&gt; &gt; &gt;  type protocol/client<br>
&gt; &gt; &gt;  option transport-type tcp/client<br>
&gt; &gt; &gt;  option remote-host 192.168.253.42      # IP address of remote host<br>
&gt; &gt; &gt;  option remote-subvolume posix-locks-home1     # use home1 on remote<br>
&gt; host<br>
&gt; &gt; &gt;  option transport-timeout 10           # value in seconds; it should<br>
&gt; be<br>
&gt; &gt; &gt; set<br>
&gt; &gt; &gt; relatively low<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ## Reference volume &quot;home2&quot; from remote server<br>
&gt; &gt; &gt; volume home2<br>
&gt; &gt; &gt;  type protocol/client<br>
&gt; &gt; &gt;  option transport-type tcp/client<br>
&gt; &gt; &gt;  option remote-host 192.168.253.41      # IP address of remote host<br>
&gt; &gt; &gt;  option remote-subvolume posix-locks-home1     # use home1 on remote<br>
&gt; host<br>
&gt; &gt; &gt;  option transport-timeout 10           # value in seconds; it should<br>
&gt; be<br>
&gt; &gt; &gt; set<br>
&gt; &gt; &gt; relatively low<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; volume home<br>
&gt; &gt; &gt;  type cluster/afr<br>
&gt; &gt; &gt;  option metadata-self-heal on<br>
&gt; &gt; &gt;  option favorite-child home1<br>
&gt; &gt; &gt;  subvolumes home1 home2<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; volume writebehind<br>
&gt; &gt; &gt;   type performance/write-behind<br>
&gt; &gt; &gt;   option aggregate-size 128KB<br>
&gt; &gt; &gt;   option window-size 1MB<br>
&gt; &gt; &gt;   subvolumes home<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; volume cache<br>
&gt; &gt; &gt;   type performance/io-cache<br>
&gt; &gt; &gt;   option cache-size 512MB<br>
&gt; &gt; &gt;   subvolumes writebehind<br>
&gt; &gt; &gt; end-volume<br>
&gt; &gt; &gt;<br>
&gt; &gt; If I see that right, then you are using AFR on the server and on the<br>
&gt; &gt; client. Right?<br>
&gt; &gt; --<br>
&gt; &gt; Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +<br>
&gt; &gt; Telefonanschluss für nur 17,95 Euro/mtl.!*<br>
&gt; &gt; <a href="http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a" target="_blank">http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Gluster-users mailing list<br>
&gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt; <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt; &gt;<br>
<br>
</div></div>--<br>
<div class="im">Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: <a href="http://www.gmx.net/de/go/multimessenger01" target="_blank">http://www.gmx.net/de/go/multimessenger01</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">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>
</div></div></blockquote></div></div>