Hi Stas, Please find the comments inlined. 2008/12/7 Stas Oskin <stas.oskin at gmail.com> > > > ---------- Forwarded message ---------- > From: Stas Oskin <stas.oskin at gmail.com> > Date: 2008/12/7 > Subject: Re: AFR questions > To: Kirby Zhou ?kirbyzhou at sohu-rd.com? > > > Hi. > > For example: >> >> volume ns-afr0 >> type cluster/afr >> subvolumes remote-ns1 remote-ns2 remote-ns3 remote-ns4 >> end-volume >> >> Anything written to ns-afr0 will be AFRed to all the 4 subvolumnes. >> So how many copies you want to get, how many subvolumnes you should set. > > > Thanks for the example. > > By this approach you mean that basically the only way to define 2-way > replication for example, is to put 2 bricks inside a volume? > What if I have say 10 bricks and still need only 2 copies? I will need to > define such sub-volumes for each pair? > you can have two unify of 5 bricks each and have these two as children of afr. something like, volume unify-0 type cluster/unify subvolumes n1 n2 n3 n4 n5 end-volume volume unify-1 type cluster/unify subvolumes n6 n7 n8 n9 n10 end-volume volume afr type cluster/afr subvolumes unify-0 unify-1 end-volume > > This sounds a bit strange, because then you basically limited to 2 servers > instead of to the whole server pool. > > Is it possible just to add all available bricks to list, then specify how > many copies to store? > > Regards. > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users > > -- Raghavendra G -------------- next part -------------- An HTML attachment was scrubbed... URL: http://zresearch.com/pipermail/gluster-users/attachments/20081208/b3e4dde0/attachment.htm