Keith,<br><br>Replies inline.<br><br><div class="gmail_quote">On Sun, Nov 16, 2008 at 10:51 AM, Keith Freedman <span dir="ltr">&lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
in this case, the namespace brick should be AFR&#39;ed then correct?</blockquote><div><br>namespace volume can be anything (depending on your needs). namespace&nbsp; contains only directory entries and no other data.<br><br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
would that break things if log files are on some clients and not others?</blockquote><div><br>no. mount-point will show all the files, irrespective of whether they are scheduled to AFR or direct posix subvolume .<br><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 class="Ih2E3d"><br>
<br>
<br>
At 08:57 PM 11/15/2008, Basavanagowda Kanur wrote:<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 class="Ih2E3d">
Claudiu,<br>
 &nbsp;You can use unify over afr. And use switch translator to schedule your log files to a subvolume which does not replicate (without afr) and rest of the files to afr.<br>
<br>
volume unify<br>
 &nbsp;type cluster/unify<br>
 &nbsp;option scheduler switch<br>
 &nbsp;option switch.case &lt;pattern&gt;:&lt;non-replicated-subvolume&gt;;*:&lt;afr-subvolume&gt;<br>
 &nbsp;option namespace &lt;namespace&gt;<br>
 &nbsp;subvoumes &lt;non-replicated-subvolume&gt; &lt;afr-subvolume&gt;<br>
end-volume<br>
<br>
--<br>
gowda<br>
<br></div><div class="Ih2E3d">
On Sat, Nov 15, 2008 at 2:32 PM, claudiu ciurdariu &lt;&lt;mailto:<a href="mailto:clauc_007@yahoo.com" target="_blank">clauc_007@yahoo.com</a>&gt;<a href="mailto:clauc_007@yahoo.com" target="_blank">clauc_007@yahoo.com</a>&gt; wrote:<br>

Hi guys,<br>
<br>
I&#39;m trying to implement AFR across 2 servers and I was wondering if there is any option that would allow me to exclude some subdirectories from replicating each other. Say I have a directory structure like this:<br>
<br>
/var/www/domain1/htdocs<br>
/var/www/domain1/logs<br>
/var/www/domain2/htdocs<br>
/var/www/domain2/logs<br>
....<br>
<br>
I want to AFR /var/www across the 2 servers, but exclude the logs directories from replication. Is there any translator that would help me achieve that?<br>
<br>
Any help is appreciated.<br>
<br>
Claudiu<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br></div>
&lt;mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>&gt;<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><div class="Ih2E3d"><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>
--<br>
hard work often pays off after time, but laziness always pays off now<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>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>gowda<br>