OK, got it, thanks.<div>So Gluster will not replicate files itself, but I should use rsync instead. Right?</div><div><br></div><div>If I mount Gluster share and edit any file within, it syncs between nodes.</div><div><br></div>
<div>Assuming it was my fault, sorry for disturbing. </div><div><br></div><div>Thanks,</div><div>BR,</div><div>Vladimir.<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 11:20 AM, Vijay Bellur <span dir="ltr">&lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 07/04/2012 12:41 PM, Vladimir Yakovlev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Everyone,<br>
<br>
I&#39;ve just set up 2 machines with Gluster in Replica mode: # gluster<br>
volume create DATA replica 2 transport tcp host1:/mnt/DATA<br>
host2:/mnt/DATA ; # gluster volume start DATA<br>
<br>
Whenever I create a test file on first machine (#touch 1), it doesn&#39;t<br>
replicate to the second machine.<br>
<br>
</blockquote>
<br>
<br></div>
Are you creating the file from a mount point or directly on the export directory? For replication to work, you would need to create files from a mount point.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can see the following lines in logs, which I couldn&#39;t google for a<br>
solution:<br>
<br>
[2012-07-04 10:23:43.195017] E [afr-self-heald.c:1128:afr_<u></u>start_crawl]<br>
0-DATA-replicate-0: Could not create the task for 0 ret -1<br>
[2012-07-04 10:23:47.640621] E [afr-self-heald.c:1128:afr_<u></u>start_crawl]<br>
0-DATA-replicate-0: Could not create the task for 0 ret -1<br>
[2012-07-04 10:26:16.031404] E [afr-self-heald.c:1128:afr_<u></u>start_crawl]<br>
0-DATA-replicate-0: Could not create the task for 0 ret -1<br>
[2012-07-04 10:26:17.030263] E [afr-self-heald.c:1128:afr_<u></u>start_crawl]<br>
0-DATA-replicate-0: Could not create the task for 0 ret -1<br>
<br>
</blockquote>
<br></div>
Ccing Pranith for these logs.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Vijay<br>
</font></span></blockquote></div><br></div>