[Gluster-users] Problems with self heal on replicated DHT
Roland Rabben
roland at jotta.no
Tue Dec 15 18:52:58 UTC 2009
Hi
I will try to check out 3.0.0 on a different system.
I now see that self heal works if i try to self heal the missing file
directly instead of self healing the folder containing the missing file.
E.g.
ls -lR mymissingfile
This will bring the file back.
ls -lR myfolder
This will not bring the file back.
It is still a big hassle to locate the missing files and run individual
commands to fix these rather than just one self heal command across the
entire dfs.
Regards
Roland
2009/12/15 Raghavendra G <raghavendra.hg at gmail.com>
> Hi Roland,
>
> Can you try 3.0.0 and check whether the problem with self-heal persists?
>
> regards,
> On Tue, Dec 15, 2009 at 3:14 PM, Roland Rabben <roland at jotta.no> wrote:
>
>> Hi
>> I am using Gluster 2.06 on my servers and clients. My setup is a
>> replicated
>> with cluster/replicate and then distribued with DHT.
>>
>> My bricks are paired. Brick1 on server1 is replicated to Brick2 on server
>> 2
>> and so on.
>>
>> My problem is that it seems that self heal only works on the secondary
>> bricks (Brick2 in this example).
>>
>> For a test I can rm a file from Brick2 behind GlusterFS's back, run a self
>> heal on my dfs with ls -lR, and the file will be recovered on Brick2 as
>> expected.
>>
>> However if I remove a file from Brick1 and run the same self heal, it
>> doesn't work. Not only that, but the file is now gone from my dfs. (It is
>> still stored on Brick2)
>>
>> I have tried using option "lookup-unhashed on" and option "lookup-unhashed
>> yes". (There seem to be some confusion to what is the correct syntax in
>> the
>> docs. The example<
>> http://gluster.com/community/documentation/index.php/Translators/cluster/distribute
>> >uses
>>
>> "yes" and the text below says default is "on").
>>
>> Is this the expected behavior?
>>
>> Please advise on how to fix this. I want a self heal to fix both my
>> primary
>> and secondary bricks.
>>
>> Regards
>>
>> Roland Rabben
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>>
>
>
> --
> Raghavendra G
>
>
--
Roland Rabben
Founder & CEO Jotta AS
Cell: +47 90 85 85 39
Phone: +47 21 04 29 00
Email: roland at jotta.no
More information about the Gluster-users
mailing list