<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Stas Oskin</b> <span dir="ltr">&lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt;</span><br>
Date: 2008/12/7<br>Subject: Re: [Gluster-users] AFR questions<br>To: Kirby Zhou þ<a href="mailto:kirbyzhou@sohu-rd.com">kirbyzhou@sohu-rd.com</a>þ<br><br><br>Hi.<br><br><div class="gmail_quote"><div class="Ih2E3d"><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><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?<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>