Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Mover Tuning

Featured Replies

5 hours ago, JoshUK said:

load is low

So maybe related to high load of system then it's smb or same is hanging ? 

  • Replies 3.5k
  • Views 485.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hugenbdd
    hugenbdd

    New Version 07-03-2023   HUGE thanks/Shout-out to @Swarles for the help with updating code fixes and adding a great new feature.  You can now have some customization per share.  It's great t

  • How to ignore a SINGLE file 1.) Find the path of the file you wish to ignore.     ls -ltr /mnt/cache/Download/complete/test.txt         root@Tower:/# ls -ltr /mnt/cache/Download/complete/test

  • Hi all, I made a new version of the plugin. This fork replaces @hugenbdd's plugin which is not maintained anymore and will land in community applications if your feedbacks are positive.  

Posted Images

On 5/17/2025 at 12:59 PM, TerabyteTitan said:

Any ideas what I could check or do?

Checked your uploaded debug.zip file. 

1. Disable Test Mode

2. You have 7% of pool size and move threshold 95%, so nothing will be moved even if you disable test mode until 95% on cache pool

8 minutes ago, Masterwishx said:

Checked your uploaded debug.zip file. 

1. Disable Test Mode

2. You have 7% of pool size and move threshold 95%, so nothing will be moved even if you disable test mode until 95% on cache pool

I just enable Test Mode for testing, after I noticed the cache not being used, as described last week (https://forums.unraid.net/topic/70783-plugin-mover-tuning/page/108/#findComment-1554238).

The cache has not reached 95% in a long time, but stays under 10%.

If i manually start Mover, nothing is moved, which fits the behaviour I'm looking for!

I will observe this over the next days more closely.

In case of Mover moving all the cache again to the array without respecting the 95% threshold, what logs would you need?

1 hour ago, Masterwishx said:

So maybe related to high load of system then it's smb or same is hanging ? 

I am not following, the system is low load as in not being used, perfect time for mover to run. How do I debug this?

No SMB shares, no NFS shares.

1 hour ago, JoshUK said:

No SMB shares, no NFS shares.

What sares then you are using ?

1 hour ago, TerabyteTitan said:

If i manually start Mover, nothing is moved, which fits the behaviour I'm looking for!

This should be same if runned by schedule or manually by mover start or mover button .

1 hour ago, TerabyteTitan said:

In case of Mover moving all the cache again to the array without respecting the 95% threshold, what logs would you need?

You can send Mover Tuning Debug Package (.zip) its contain your config and all mover logs and debug logs from today.

if it was move all data , maybe you had (Force move of all files on a schedule , Move All from Primary->Secondary) options enabled ?

16 hours ago, Masterwishx said:

What sares then you are using ?

I use an array but only the docker containers have access, I do not export them via SMB or NFS. Where can I enable verbose logging to see what its hanging on?

1 hour ago, JoshUK said:

I use an array but only the docker containers have access, I do not export them via SMB or NFS. Where can I enable verbose logging to see what its hanging on?

Then what you are trying to move with mover?

/tmp/ca.mover.tuning/ all Logs hete

6 hours ago, JoshUK said:

Where can I enable verbose logging to see what its hanging on?

In settings - Log Mover Tuning, Debug Log Mover Tuning.

I'm not sure if I set the settings right for the mover tuning. My goal is that stuff will first go on the cache and then get moved (especially TV shows and movies) to the array in the morning daily. Would this be correct?

Screenshot from 2025-05-21 19-28-25.png

Screenshot from 2025-05-21 19-28-37.png

8 minutes ago, plunderisley said:

I'm not sure if I set the settings right for the mover tuning. My goal is that stuff will first go on the cache and then get moved (especially TV shows and movies) to the array in the morning daily. Would this be correct?

Screenshot from 2025-05-21 19-28-25.png

Screenshot from 2025-05-21 19-28-37.png

Looks fine, maybe you want to clean parent folders also or zfs datasets after moving files

Thanks. I added the clean parent folders

10 hours ago, Masterwishx said:

Then what you are trying to move with mover?

/tmp/ca.mover.tuning/ all Logs hete

Ok I looked in there without debug on and yeah the last line in Mover_tuning_2025-05-19T104958.log says cleaning up. I will enable debug and see what it adds.

Edit: running it manually now, do I post if I can't work it out or private message for help? Thanks

Edited by JoshUK

Nothing was output in the logs after, it says cleaning up and hangs.

8 hours ago, JoshUK said:

Nothing was output in the logs after, it says cleaning up and hangs.

Post the log file you have

2 hours ago, Masterwishx said:

Post the log file you have

Which one? Can I dm?

1 hour ago, JoshUK said:

Which one? Can I dm?

Yep send all last logs or download debug.zip in help menu

7 minutes ago, Masterwishx said:

Yep send all last logs or download debug.zip in help menu

Looking this morning, it ran last night, and it hung this time on:

************************************************************ ANALYSING MOVING ACTIONS ***********************************************************

Deciding the action (move/sync/keep) for each file. There are 2 files, it can take a while...

No new files will be moved/synced from primary to secondary

No new files will be moved/synced from secondary to primary

Downloading debug.zip and sending to you via pm.

On 5/21/2025 at 7:29 PM, plunderisley said:

I'm not sure if I set the settings right for the mover tuning. My goal is that stuff will first go on the cache and then get moved (especially TV shows and movies) to the array in the morning daily. Would this be correct?

Screenshot from 2025-05-21 19-28-25.png

Screenshot from 2025-05-21 19-28-37.png

Doesn't seem to run. Got an alert that the disk full is over 80% and the mover tuning didn't run.

7 hours ago, plunderisley said:

and the mover tuning didn't run.

how is your mover schedule setted ?

disk warning is not a trigger to run the mover, just as note.

10 hours ago, plunderisley said:

Doesn't seem to run. Got an alert that the disk full is over 80% and the mover tuning didn't run.

Mover run by schedule settings or manually by button or in cmd by "mover start"

9 hours ago, alturismo said:

how is your mover schedule setted ?

disk warning is not a trigger to run the mover, just as note.

See a few posts above - its set 70% full to move and then move all at 75% full. So me getting an alert that the cache is over 80% means that neither triggered.

6 hours ago, Masterwishx said:

Mover run by schedule settings or manually by button or in cmd by "mover start"

I did that and when I had the mover set to follow the tuning rules, it moved nothing.

1 minute ago, plunderisley said:

See a few posts above - its set 70% full to move and then move all at 75% full. So me getting an alert that the cache is over 80% means that neither triggered.

thats NOT the question ;)

image.png

then, and ONLY then the mover runs, no matter what is underneath setted up ...

WHEN the mover runs, it ll follow the rules which are then in mover tuning settings.

9 minutes ago, alturismo said:

thats NOT the question ;)

image.png

then, and ONLY then the mover runs, no matter what is underneath setted up ...

WHEN the mover runs, it ll follow the rules which are then in mover tuning settings.

Ahhh, so the mover wont run if the other criteria are met if the schedule is set differently?

I have it set hourly - every 8hrs. Last time it hit the 8hr mark, it ran but moved 0 items.

23-05-2025 08:00

Unraid Status

Mover Tuning Notification

A total of 0 files representing 0B were successfully moved/synced by Mover Tuning plugin.

normal

Just now, plunderisley said:

Ahhh, so the mover wont run if the other criteria are met if the schedule is set differently?

exactly, ONLY the schedule will trigger the mover ... which will THEN follow the rules from mover tuning.

now, if nothing was moved its on you to provide logs for @Masterwishx ;)

files > age, files > size, ... should be then on your cache and the reason why not ... check the readme for the proper diags

19 hours ago, plunderisley said:

Doesn't seem to run. Got an alert that the disk full is over 80% and the mover tuning didn't run.

You have set files 10 days old and 1024M size will be moved , so if this not meet even if cache size more 70% , nothing will be moved ...

But as you have Move all 75% should move all files after 75%

Edited by Masterwishx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.