Hi Stas,<br>Please find the comments inlined.<br><br><div class="gmail_quote">2008/12/7 Stas Oskin <span dir="ltr">&lt;<a href="mailto:stas.oskin@gmail.com" target="_blank">stas.oskin@gmail.com</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 dir="ltr"><br><br><div class="gmail_quote"><div>---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Stas Oskin</b> <span dir="ltr">&lt;<a href="mailto:stas.oskin@gmail.com" target="_blank">stas.oskin@gmail.com</a>&gt;</span><br>


Date: 2008/12/7<br>Subject: Re: [Gluster-users] AFR questions<br></div><div>To: Kirby Zhou þ<a href="mailto:kirbyzhou@sohu-rd.com" target="_blank">kirbyzhou@sohu-rd.com</a>þ<br><br><br>Hi.<br><br></div><div class="gmail_quote">

<div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For example:<br>
<br>
volume ns-afr0<br>
 &nbsp;type cluster/afr<br>
 &nbsp;subvolumes remote-ns1 remote-ns2 remote-ns3 remote-ns4<br>
end-volume<br>
<br>
Anything written to ns-afr0 will be AFRed to all the 4 subvolumnes.<br>
So &nbsp;how many copies you want to get, how many subvolumnes you should set.</blockquote></div></div><div><br>Thanks for the example.<br><br>By this approach&nbsp; you mean that basically the only way to define 2-way replication for example, is to put 2 bricks inside a volume?<br>



What if I have say 10 bricks and still need only 2 copies? I will need to define such sub-volumes for each pair?</div></div></div></div></blockquote><div><br>you can have two unify of 5 bricks each and have these two as children of afr. something like,<br>
<br>volume unify-0<br>type cluster/unify<br>subvolumes n1 n2 n3 n4 n5<br>end-volume<br><br>volume unify-1<br>
type cluster/unify<br>
subvolumes n6 n7 n8 n9 n10<br>
end-volume<br>
<br>volume afr<br>type cluster/afr<br>subvolumes unify-0 unify-1<br>end-volume<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 dir="ltr"><div class="gmail_quote"><div class="gmail_quote"><div><br><br>This sounds a bit strange, because then you basically limited to 2 servers instead of to the whole server pool.<br>


<br>Is it possible just to add all available bricks to list, then specify how many copies to store?<br><br>Regards.<br></div></div></div></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>