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

Hi,
I am experiencing a repeatable and serious issue using CA Mover Tuning (version 2025.10.22, by masterwishx) with Unraid, where essential system plugin files get moved out of their correct location and the affected plugin stops working.

System summary:

  • Unraid version: 7.2.0 (initially noticed before the update on 7.1.4)

  • CA Mover Tuning version: 2025.10.22

  • Affected plugin: Disk Location

  • Affected SSD cache pools: ADATA SU800 1TB (docker_appdata) and SAMSUNG EVO 850 500GB (Plex_appdata)

  • Related share: appdata (cache: prefer)

  • No intentional “pages” share exists in my setup

What happens:
Every time mover runs (manual or scheduled), CA Mover Tuning moves files from /usr/local/emhttp/plugins/disklocation/pages/ (and other plugin files) to my cache/appdata pool, creating a new “pages” folder on SSD (e.g., /mnt/docker_appdata/pages and/or /mnt/plex_appdata/pages). After this, Disk Location disappears from the Tools menu and shows a blank page when launched from the Plugins list. Its cron jobs fail due to missing PHP scripts.

Testing steps I performed:

  • Reinstalled Disk Location and removed the unwanted “pages” share to restore normal operation.

  • Enabled full mover logging.

  • Ran mover manually with standard settings, which immediately moved dozens of plugin files (Disk Location’s “pages” directory and others) out to the cache pool, breaking the plugin again.

  • The mover logs clearly show CA Mover Tuning treating these plugin files as share data:

    Moving "./plugins/disklocation/./pages/array_devices.php"  to  /mnt/plex_appdata/
    Moving "./plugins/disklocation/./pages/benchmark.php"  to  /mnt/plex_appdata/
    Moving "./plugins/disklocation/./pages/cronjob.php"  to  /mnt/plex_appdata/
    ... (and more for every file in the plugin)
    

  • The Disk Location plugin is only broken when CA Mover Tuning is enabled. This does not happen with the standard mover alone.

  • As one more test, I enabled “Test Mode (dry run): Yes” in CA Mover Tuning and ran mover again. In this mode, Disk Location was left untouched and continued to work as expected, confirming it is the move operation itself causing the issue.

Desired outcome:
I need CA Mover Tuning to completely ignore system, OS, and plugin files, especially anything inside /usr/local/emhttp/plugins. This folder should never be treated as share or user data. If there’s some way my settings could affect this, I’d be happy for advice, but I haven’t included any plugin folders in any shares.

I can provide:

  • Full logs of the problem

  • System diagnostics or additional info upon request

I hope this helps track down the bug. Please let me know if there’s anything else I can check or try.

Thank you!

  • Replies 3.5k
  • Views 486.6k
  • 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

24 minutes ago, DontWorryScro said:

I hope this helps track down the bug. Please let me know if there’s

Please enable debug and logging and post debug.zip by "mover debug" in cli that will include those files moves.

13 hours ago, DontWorryScro said:

I need CA Mover Tuning to completely ignore system, OS, and plugin files, especially anything inside /usr/local/emhttp/plugins. This folder should never be treated as share or user data. If there’s some way my settings could affect this, I’d be happy for advice, but I haven’t included any plugin folders in any shares.

I was rewrited code for shares with cache prefer in last version for this will never happen, but from debug I see for share (plex4k) :

find -type f -not -name '.placeholder' -.....

So it not include the share path here, and seems take current path.

Will try to fix it today if will have time

I'm still facing the issue, that mover with this plugin won't move nor sync files.

I have two ZFS pools, one primary with a single NVME and a secondary, which acts as long term storage. The NVME is primary, the second is secondary storage.

Mover should sync all files smaller or equal to 98 MB and move all files larger than 98 MB from primary to secondary

Thresholds:

Moving: 70%

Free-up: 60%

Fill-up to: 60%

I played with these numbers to no change. I am running one central configuration and not a per-share config. I tried that before, but also did not help.

Mover won't sync nor move new files that should be covered by the configuration. That extends to small files, which should be synced, but also to bigger files, which should be moved.

I can verify this by running rsync manually and see what is synced between primary and secondary.

Realizing this gives me the impressions that without running rsync manually, I do not have parity protection when this plugin controls mover.

ca.mover.tuning-debug-20251031-0843.zip

13 hours ago, DontWorryScro said:

Here you go. Thanks!

Found the bug, will be fixed in next version.

2 hours ago, Gymnae said:

Moving: 70%

Free-up: 60%

You need more gap between for move files, also read help options for sync files, it sync only when cache below thouse thresholds iirc

Also I added sync for shares override

Is it possible to update the plugin to support the new "emptying disk(s)" feature in Global Share settings?

This is very useful for moving data off of disks to change the filesystem without having to use something like unbalance which is extremely slow for me.

1 hour ago, johnsanc said:

This is very useful for moving data off of disks to change the filesystem without having to use something like unbalance which is extremely slow for me.

you can run it from cli

You can also configure that in UI now. Its listed in the documentation for how to migrate fileystems. I have to do that for XFS v4 to v5 for a few disks. I basically have to disable Mover Tuning for this type of move since it doesn't seem to support that feature.
image.png

Edited by johnsanc

1 hour ago, johnsanc said:

to disable Mover Tuning f

you can run : mover start -e diskX or to run unraid mover : mover.old start -e diskX

Edited by Masterwishx

1 hour ago, johnsanc said:

You can also configure that in UI now


if you mean in Global Share Settings then you need to stop array ?!

Yes its a very weird design choice to put it there... but that feature is available in UI shoved under Global Share settings as shown in my previous screenshot

1 hour ago, johnsanc said:

I basically have to disable Mover Tuning for this type of move since it doesn't seem to support that feature.

Oh you mean to add like in Unraid mover when run to empty disk if was set in option.

I saw they added code for it, now I got it.

Edited by Masterwishx

I will check if I can add it, but you can still run in cli, or make force mover schedule that will run unraid mover

Yes for now i set "Move Now button follows plugin filters" to "no" to get the empty disk function to work.

On 10/30/2025 at 8:31 PM, DontWorryScro said:

I am experiencing a repeatable and serious issue using CA Mover Tuning

Please check new version, should be fine now, sorry for it.

1 hour ago, Masterwishx said:

Please check new version, should be fine now, sorry for it.

Confirmed fixed. Thanks for jumping on that so fast!

CA Mover Tuning does not seem to handle empty folder trees on cache

Steps to reproduce:

  1. On the cache create an empty folder tree only, for example:

    mkdir -p /mnt/cache/testshare/1/2/3/4/5
    

    Do not put any files in it.

  2. Make sure the share is set to use the cache and to be moved to the array (user0).

  3. In CA Mover Tuning set all move thresholds to 0 so the mover will always run.

  4. In CA Mover Tuning set Clean empty folders to Yes or to Top folder.

  5. Run the mover.

The result is nothing is moved. The folder tree stays on the cache exactly as it was. It looks like the plugin just says there is no work to do because there were no files in that path.

I expect even if there are no files in the folder the plugin should still check that folder. The empty folder structure should be mirrored to the array (user0) as part of the move. After that, because Clean empty folders is enabled, the same empty folder structure on cache should be removed, including the top folder if that option is selected.

How it currently works, can (and does) leave lots of empty folders sitting on the cache that aren't moved/mirrored to the array. That is the exact thing the Clean empty folders and Top folder options are meant to clean up. Right now it only seems to clean when it has actually moved a file first.

Edited by TrevP
added 2nd mkdir example

1 hour ago, TrevP said:

Right now it only seems to clean when it has actually moved a file first.

Yep this is how plugin work if you read help description of the option.

1 hour ago, Masterwishx said:

Yep this is how plugin work if you read help description of the option.

To me "move", means move everything. files and folders. If not, we are going to be left with a bunch of unmoved, not array protected folder structures.

Is it possible to add the following option:
Items to move ->
Files only : current default behavior
Files and Folders : Treat Folders just like files. Move them as well, even if the folder is empty.

27 minutes ago, TrevP said:

To me "move", means move everything

It should move everything by find function + plugin setting, you can enable debug and check this find function in debug log (should move also empty folders)

But when clean it clean folders of moved files.

Edited by Masterwishx

3 hours ago, TrevP said:

The result is nothing is moved.

Please check help description of options by click on it or F1. To see how thresholds works 

Adjusting second media cache - reminder needed! So, ages ago I set up a second SSD as a media cache drive (in addition to the primary cache for apps etc) to hold recently downloaded TV for quick access. However the secondary cache is filling up and I can't remember how to change the rules for when data on it should be moved to the main array (e.g. by age or by how full the cache drive is).

I have the mover tuning plugin installed, but it's not obvious how to change settings for the secondary cache drive. Can anyone remind me? Thank you!

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.