<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 2:50 PM, Dmitry Melekhov <span dir="ltr"><<a href="mailto:dm@belkam.com" target="_blank">dm@belkam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>13.07.2016 13:10, Pranith Kumar
Karampuri пишет:<br>
</div><span class="">
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 13, 2016 at 2:25 PM,
Dmitry Melekhov <span dir="ltr"><<a href="mailto:dm@belkam.com" target="_blank"></a><a href="mailto:dm@belkam.com" target="_blank">dm@belkam.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">13.07.2016
11:40, Pranith Kumar Karampuri пишет:<span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
You recipe doesn't work :-( If there is difference
between bricks directories due to direct brick
manipulation it leads to problems.<br>
<br>
You have to execute "gluster volume heal
<volname> full" for triggering full heal.<br>
<br>
</blockquote>
</span>
yeah, but I need to know that I need to execute it.<br>
any help from gluster or only external script?<br>
<br>
<br>
</blockquote>
</div>
I guess it is not too difficult to set up cron/systemd.timer
to run this command once in a while right?</div>
</div>
</blockquote>
<br></span>
Too difficult? No. <br>
So you are suggesting to run heal full by cron? Right?<br>
Really, I don't know how much resources this full heal may need in
real installations.<br>
If not much- why self-heal doesn't call it?<span class=""><br></span></div></blockquote><div><br></div><div>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.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra"> What script do you need to write? I
didn't get you.<br>
</div>
<div class="gmail_extra"><br clear="all">
</div>
</div>
</blockquote>
<br></span>
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.<br>
Could you , please, tell me how heal full works and why it is not
part of self-heal process?<br></div></blockquote><div><br></div><div>You can read more about it at: <a href="https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/afr-self-heal-daemon.md">https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/afr-self-heal-daemon.md</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
Thank you!<span class=""><font color="#888888"><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">Pranith<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div></div>