Jump to content
Squid

[Plugin] Mover Tuning

96 posts in this topic Last Reply

Recommended Posts

Simple question. At what % of cache drive does the GUI complain of high usage of disk? I want to ride that %.

 

 

Share this post


Link to post

This is user adjustable for all disks and for each disk.

 

For cache:

Main - Cache Devices - Cache - Cache Settings - Warning (or Critical) Disk Utilization Threshold.

 

Similarly for each disk.

 

The default for all disks is at Settings - Disk Settings - Warning (or Critical) Disk Utilization Threshold.

  • Like 1

Share this post


Link to post

Is there a log to see when the last time mover tuner ran?

 

I have mover set for every 4 hours. But mover tuning set so driver has to be 75% full before mover will actually run.

Share this post


Link to post

In the syslog, it should show Mover started.  Personally I have this set up so that it also forces the move once per day (but checks hourly for the threshold to be exceeded)

Share this post


Link to post
2 hours ago, scubieman said:

I only want it to run mover when over 75% of cache used.

Then why are you not disabling the schedule?

Share this post


Link to post
26 minutes ago, scubieman said:

Dont i have to leave scheduler on for it to work?

Yes you're right. Just read the docs. I don't use this so hadn't bothered before.

Share this post


Link to post

Those settings will work.  You can always enable Log when not moving due to rules to see what its doing every 4 hours.

  • Like 1

Share this post


Link to post

Hi Squid,

 

up until now I have used a custom script for the following:

- Run mover at 3.30 am to move all movable files

- Run mover script hourly to check if cache is at > 90% used

 

I want to prevent my cache completely filling up.

 

I would like to stop using a script for that, but as of now, this is unsupported by the addon, correct?

Would be happy if you considered adding this.

 

Kind regards

 

Share this post


Link to post
12 hours ago, rix said:

Hi Squid,

 

up until now I have used a custom script for the following:

- Run mover at 3.30 am to move all movable files

- Run mover script hourly to check if cache is at > 90% used

 

I want to prevent my cache completely filling up.

 

I would like to stop using a script for that, but as of now, this is unsupported by the addon, correct?

Would be happy if you considered adding this.

 

Kind regards

 

I'm a bit confused, because your scenario is exactly what the plugin does.

Share this post


Link to post

lemme try to clear up the confusion.

 

how would i set this up:

-mover running daily to move all and any files to the array (regardless of space available on the cache)

-mover running hourly to only move all and any files to the array if cache is > 90 % full

 

i understand the options that setting the 90% limit will also affect the regular daily mover process..

Share this post


Link to post

I am fairly certain that is not how the mover works.

 

What you could do and what I have is.

 

Run mover like every 2-4 hours if over certain % then move from cache to array.

Share this post


Link to post
1 hour ago, rix said:

move all and any files to the array

Of course it only moves user shares that are set to cache-yes.

 

As for what you are asking to do, you might get the idea simply by looking at the screenshot a few posts up on this same page.

 

Share this post


Link to post
1 hour ago, rix said:

-mover running daily to move all and any files to the array (regardless of space available on the cache)

-mover running hourly to only move all and any files to the array if cache is > 90 % full

Once again, its exactly what it does.

 

You set mover to run every hour.

 

In the tuner settings, you tell it to only move at 90%.  And you also tell it to do a force move (via a cron schedule) once per day.

Share this post


Link to post

Thanks for the advice. I now managed to set this up. Failed to understand the options.. 😅

Share this post


Link to post

Is it correct set up?

 

check every hour if >80%, then move. (could that be added to make it every half an hour? Maybe a custom cron tab?)

 

and force every day 23:55 ?

 

 

1.png

Edited by nuhll

Share this post


Link to post
On 1/17/2019 at 2:24 AM, nuhll said:

Is it correct set up?

 

check every hour if >80%, then move. (could that be added to make it every half an hour? Maybe a custom cron tab?)

 

and force every day 23:55 ?

 

 

1.png

Unless your wanting it to run during a Parity check I would change the yes to no on Lines 3 and 6

 

Otherwise it looks like your having it run no matter what when it hits 80% of Capacity and as well every day at 23:55.

 

If that's your plan I don't honestly see any mistakes.

Share this post


Link to post

Is there anything special to watch out for when uninstalling this plugin? I found that after uninstalling, the mover does no longer do anything at all... Any ideas?

Share this post


Link to post

Shouldn't be a problem, but a reboot will always fix any issues

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now