[Gluster-users] Problem with self-heal

Tiziano Müller tiziano.mueller at stepping-stone.ch
Thu Jul 3 15:26:45 UTC 2014

Hi Pranith

Am 03.07.2014 17:16, schrieb Pranith Kumar Karampuri:
>> Is there some documentation on the meaning of the
>> trusted.afr.virtualization-client attribute?
> https://github.com/gluster/glusterfs/blob/master/doc/features/afr-v1.md


> Is I/O happening on those files? I think yes because they are VM files. There
> was this problem of false +ves with releases earlier than 3.5.1. Releases
> earlier than 3.5.1 did not have capability to distinguish between on-going I/O
> and requirement of self-heal. So even if I/O is happening they will be shown
> under files that need self-heal.

Ok, that explains why some of the files are suddenly listed and then vanish again.

The problem is that when we shut down all VMs (which were using gfapi) last
week, some images were listed as to be self-healed, but no I/O happened.
Also after a gluster vol stop/start and a reboot, the same files were listed and
nothing changed. After comparing the checksums of the files on the 2 bricks we
resumed operation.

Any ideas?


> Pranith
>> Thanks in advance,
>> Tiziano
>>> Pranith
>>>> Best,
>>>> Tiziano
>>>> Am 01.07.2014 22:58, schrieb Miloš Kozák:
>>>>> Hi,
>>>>> I am running some test on top of v3.5.1 in my 2 nodes configuration with one
>>>>> disk each and replica 2 mode.
>>>>> I have two servers connected by a cable. Through this cable I let glusterd
>>>>> communicate. I start dd to create a relatively large file. In the middle of
>>>>> writing process I disconnect the cable, so on one server (node1) I can see all
>>>>> data and on the other one (node2) I can see just a split of the file when
>>>>> writing is finished.. no surprise so far.
>>>>> Then I put the cable back. After a while peers are discovered, self-healing
>>>>> daemons start to communicate, so I can see:
>>>>> gluster volume heal vg0 info
>>>>> Brick node1:/dist1/brick/fs/
>>>>> /node-middle - Possibly undergoing heal
>>>>> Number of entries: 1
>>>>> Brick node2:/dist1/brick/fs/
>>>>> /node-middle - Possibly undergoing heal
>>>>> Number of entries: 1
>>>>> But on the network there are no data moving, which I verify by df..
>>>>> Any help? In my opinion after a while I should get my nodes synchronized, but
>>>>> after 20minuts of waiting still nothing (the file was 2G big)
>>>>> Thanks Milos
>>>>> _______________________________________________
>>>>> Gluster-users mailing list
>>>>> Gluster-users at gluster.org
>>>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users

stepping stone GmbH
Neufeldstrasse 9
CH-3012 Bern

Telefon: +41 31 332 53 63

More information about the Gluster-users mailing list