Hmm with thousands of entries that need heal and need to be reported by heal-info, it seems that it is quite likely for heal-info to take some time to report since it takes locks to examine if a file needs heal or not, and the self-heal daemon is also a contender for the same lock.
`heal statistics heal-count` seems like a neat workaround that way. -Krutika On Thu, Apr 14, 2016 at 8:12 PM, Lindsay Mathieson < [email protected]> wrote: > On 15/04/2016 12:37 AM, Pranith Kumar Karampuri wrote: > >> You mean heal info exiting faster? Krutika sent the patch for it. >> > > Sorry, typo on my part - I meant that I'm quite happy with the existing > heal :) > > Regards heal info - still very slow (tens of seconds) when 1000's of > shards need healing and iowait is high. > > Bu I found "gluster volume heal <DS> statistics heal-count" which is > perfect for my needs, it returns immediately and displays the number of > shards to be healed. > > Usually I don't need to know the individual shard details, I just need a > count so I can monitor progress. > > -- > Lindsay Mathieson > > > _______________________________________________ > Gluster-users mailing list > [email protected] > http://www.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-users
