[Gluster-users] [3.3 beta3] When should the self-heal daemon be triggered?

Vijay Bellur vbellur at redhat.com
Thu May 3 10:02:07 UTC 2012

On 05/03/2012 03:15 PM, Toby Corkindale wrote:
> Hi,
> I eventually installed three Debian unstable machines, so I could 
> install the GlusterFS 3.3 beta3.
> I have a question about the self-heal daemon.
> I'm trying to get a volume which is replicated, with two bricks.
> I started up the volume, wrote some data, then killed one machine, and 
> then wrote more data to a few folders from the client machine.
> Then I restarted the second brick server.
> At this point, the second server seemed to "self-heal" enough that it 
> registered the new directories, but all the files inside were 
> zero-length.
> I then ran the command:
> gluster volume heal testvol
> After I ran that, there was some activity, and now all the files were 
> populated.
> Was that supposed to happen automatically, eventually, or am I missing 
> something about how the self-heal daemon works?

The self-heal daemon triggers a crawl once every 600 seconds. If you 
wait out that interval, you should be able to see self-heals happening 
automatically. Else you can trigger it explicitly the way you did.


More information about the Gluster-users mailing list