[Gluster-users] Replication doesn't work, saying "Could not create the task"

Vladimir Yakovlev mrquesty at gmail.com
Wed Jul 4 08:40:14 UTC 2012


OK, got it, thanks.
So Gluster will not replicate files itself, but I should use rsync instead.
Right?

If I mount Gluster share and edit any file within, it syncs between nodes.

Assuming it was my fault, sorry for disturbing.

Thanks,
BR,
Vladimir.

On Wed, Jul 4, 2012 at 11:20 AM, Vijay Bellur <vbellur at redhat.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120704/39b14cf4/attachment.html>


More information about the Gluster-users mailing list