On 07/04/2012 12:41 PM, Vladimir Yakovlev wrote: > Hi Everyone, > > I've just set up 2 machines with Gluster in Replica mode: # gluster > volume create DATA replica 2 transport tcp host1:/mnt/DATA > host2:/mnt/DATA ; # gluster volume start DATA > > Whenever I create a test file on first machine (#touch 1), it doesn't > replicate to the second machine. > 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. > I can see the following lines in logs, which I couldn't google for a > solution: > > [2012-07-04 10:23:43.195017] E [afr-self-heald.c:1128:afr_start_crawl] > 0-DATA-replicate-0: Could not create the task for 0 ret -1 > [2012-07-04 10:23:47.640621] E [afr-self-heald.c:1128:afr_start_crawl] > 0-DATA-replicate-0: Could not create the task for 0 ret -1 > [2012-07-04 10:26:16.031404] E [afr-self-heald.c:1128:afr_start_crawl] > 0-DATA-replicate-0: Could not create the task for 0 ret -1 > [2012-07-04 10:26:17.030263] E [afr-self-heald.c:1128:afr_start_crawl] > 0-DATA-replicate-0: Could not create the task for 0 ret -1 > Ccing Pranith for these logs. -Vijay