On Wed, Jul 13, 2016 at 2:50 PM, Dmitry Melekhov <dm@xxxxxxxxxx> wrote:
13.07.2016 13:10, Pranith Kumar Karampuri пишет:
On Wed, Jul 13, 2016 at 2:25 PM, Dmitry Melekhov <dm@xxxxxxxxxx> wrote:I guess it is not too difficult to set up cron/systemd.timer to run this command once in a while right?
13.07.2016 11:40, Pranith Kumar Karampuri пишет:
yeah, but I need to know that I need to execute it.
You recipe doesn't work :-( If there is difference between bricks directories due to direct brick manipulation it leads to problems.
You have to execute "gluster volume heal <volname> full" for triggering full heal.
any help from gluster or only external script?
Too difficult? No.
So you are suggesting to run heal full by cron? Right?
Really, I don't know how much resources this full heal may need in real installations.
If not much- why self-heal doesn't call it?
Because we don't expect people to touch the bricks. For a corner case it doesn't make sense to keep doing full filesystem scan. But we do provide the CLI for people who want it.
What script do you need to write? I didn't get you.
Which compares bricks directories, and, if it there is real need- it alerts me, I can run heal full or, may be, just trigger files heal by reading some files over fuse.
Could you , please, tell me how heal full works and why it is not part of self-heal process?
You can read more about it at: https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/afr-self-heal-daemon.md
Thank you!
--
Pranith
--
Pranith
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users