<div dir="ltr"><div>csync2 created for other purposes (config sync in the cluster). With so many files csync2 should be slower than rsync dramatically. </div><div>Looks like you need a distributed network file system: glusterfs, ceph, etc...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 3:01 PM, Charles Williams <span dir="ltr"><<a href="mailto:chuck@itadmins.net" target="_blank">chuck@itadmins.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I will be using lsyncd to watch for the changes and this is a directory<br>
structure with thousands of sub-directories and a few 100,000 files<br>
(magento, wordpress etc...) and would like something a bit more<br>
selective and faster than rsync.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Mo, 2014-10-27 at 14:55 +0300, bes wrote:<br>
> I do not think that csync2 be useful in this situation. Why not just<br>
> use rsync?<br>
><br>
><br>
> On Mon, Oct 27, 2014 at 2:13 PM, Charles Williams <<a href="mailto:chuck@itadmins.net">chuck@itadmins.net</a>><br>
> wrote:<br>
>Â Â Â Â Â Sorry guys. got a bit turned around there. corrected data<br>
>Â Â Â Â Â flow:<br>
><br>
><br>
>Â Â Â Â Â C -> A -> B<br>
><br>
>Â Â Â Â Â thanks,<br>
>Â Â Â Â Â chuck<br>
><br>
>Â Â Â Â Â On Mo, 2014-10-27 at 09:55 +0100, Charles Williams wrote:<br>
>Â Â Â Â Â > hey all,<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > I have a bit of a strange situation here. I have the<br>
>Â Â Â Â Â following<br>
>Â Â Â Â Â > directories I need to sync.<br>
>Â Â Â Â Â ><br>
>     > A /var/customers        (RW local copy to use)<br>
>Â Â Â Â Â > B /mnt/nvwh2/var/customers (RW slow reads, sync to)<br>
>Â Â Â Â Â > C /mnt/nvwh2ro/var/customers (RO fast reads no writes, sync<br>
>Â Â Â Â Â from)<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > /var/customers is to be used to<br>
>Â Â Â Â Â update /mnt/nvwh2/var/customers and will<br>
>Â Â Â Â Â > be updated from /mnt/nvwh2ro/var/customers. so the flow of<br>
>Â Â Â Â Â data is.<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > A -> B -> C<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > B and C are mount binds and Bis actually a remote FUSE mount<br>
>Â Â Â Â Â that needs<br>
>Â Â Â Â Â > to be updated.<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > Anyone have an idea how I can best configure this?<br>
>Â Â Â Â Â ><br>
>Â Â Â Â Â > thanks,<br>
>Â Â Â Â Â > Chuck<br>
>Â Â Â Â Â ><br>
><br>
>Â Â Â Â Â > _______________________________________________<br>
>Â Â Â Â Â > Csync2 mailing list<br>
>Â Â Â Â Â > <a href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a><br>
>Â Â Â Â Â > <a href="http://lists.linbit.com/mailman/listinfo/csync2" target="_blank">http://lists.linbit.com/mailman/listinfo/csync2</a><br>
><br>
>Â Â Â Â Â _______________________________________________<br>
>Â Â Â Â Â Csync2 mailing list<br>
>Â Â Â Â Â <a href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a><br>
>Â Â Â Â Â <a href="http://lists.linbit.com/mailman/listinfo/csync2" target="_blank">http://lists.linbit.com/mailman/listinfo/csync2</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Csync2 mailing list<br>
> <a href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a><br>
> <a href="http://lists.linbit.com/mailman/listinfo/csync2" target="_blank">http://lists.linbit.com/mailman/listinfo/csync2</a><br>
</div></div><br>_______________________________________________<br>
Csync2 mailing list<br>
<a href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/csync2" target="_blank">http://lists.linbit.com/mailman/listinfo/csync2</a><br>
<br></blockquote></div><br></div>