Vladimir Yakovlev
2012-Jul-04 07:11 UTC
[Gluster-users] Replication doesn't work, saying "Could not create the task"
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. 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 Any ideas? Thanks in advance, BR, Vladimir. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120704/73e45020/attachment.html>
Vijay Bellur
2012-Jul-04 07:20 UTC
[Gluster-users] Replication doesn't work, saying "Could not create the task"
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