Bug#556610: Please do incremental checks every night instead of a full monthly one
Sergey B Kirpichev
skirpichev at gmail.com
Tue Jan 7 12:44:59 UTC 2014
On Mon, Jan 06, 2014 at 03:14:14PM +1100, NeilBrown wrote:
> It is very unlikely to have a positive effect.
Well, at least one - we can simplify the "incremental check"
script drastically.
> If it has any effect, it will significantly slow down any check/repair etc
> that is happening.
>
> >
> > I think, it would be nice to end (not pause) check if it's reached
> > sync_max. Perhaps, there is deep reasons why md's interface
> > doesn't work in this way. Neil, could you explan this a bit?
>
> There might be a reason to continue the resync.
Could you explain the reasons behind of this interface?
> If you want to "end" the resync, then have some program wait for
> sync_completed to reach sync_max, then write 'idle' to 'sync_action'.
Yes, I know. But this solution looks too ugly to be a good interface
for shell-scripting. That's why I asked the question above.
> If you (or someone here) want to write a general "incremental check" script
> then I think that is a great idea, but rather than treating it as a "Debian"
> thing, post the proposal to linux-raid at vger.kernel.org and get feedback and
> suggestions there and when it is ready we can include it in the upstream
> mdadm package.
Ok.
More information about the pkg-mdadm-devel
mailing list