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

10 minutes ago, msalad said:

I'm trying to create it but I'm getting an error message:

Run in cli: mover debug

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

5 hours ago, Masterwishx said:

When you run force cron it run unraid move without plugin options, so it use your unraid settings for turbo write

That kinda seems like an oversight to me but ok. There should be an option to enable turbowrite even on the cron force move.

Also the setting says "Forces unRaid to switch to turbo write mode (reconstruct write) when mover is running." That wording makes it seem like it should always enable turbo write when the mover is running regardless of how its initiated.

Edited by bigfoot18

9 hours ago, bigfoot18 said:

That wording makes it seem like it should always enable turbo write when the mover is running regardless of how its initiated.

You cant use plugin settings when you run unraid mover, but i will change to " ... when mover tuning is running ..."

6 hours ago, Masterwishx said:

You cant use plugin settings when you run unraid mover, but i will change to " ... when mover tuning is running ..."

Appreciate it. Its a great plugin so keep up the good work. For anyone who wants to use TW when running the mover on a cron schedule you can do what I did. Disable the force move in the plugin settings and create a userscript that runs at the cron interval you want. Put this inside the script. You can adjust the sleeps to whatever you prefer as the mover will consider itself done before all of the disk activity is actually finished.

#!/bin/bash

sleep 30
/usr/local/sbin/mdcmd set md_write_method 1


sleep 5
/usr/local/sbin/mover.old start


sleep 180
/usr/local/sbin/mdcmd set md_write_method 0

Edited by bigfoot18

I encountered kind of a nasty bug the past couple of days which finally got nailed down to this:


cache|user0|Logs|prefer|1759507742|938187962777|129|31|1|41061|./plugins/ca.mover.tuning/reset.php

[3:53 PM]

Mover_action_2025-10-06T154614.list:cache|Logs|prefer|1700089733|4395|3217845398|938187962777|1|5081|move unattended to primary|./plugins/dynamix|/mnt/cache|javascript/ace/mode-robot.js

[3:54 PM]

Debug_Mover_tuning_2025-10-06T154614.log:15:46:37.050 Current file: ./plugins/ca.mover.tuning/Mover.tuning.page, Current folder: ./plugins/ca.mover.tuning, Previous folder: /mnt/disk2/appdata/old_appdata/Jellyfin/metadata/People/A$AP Rocky, Previous count: 0

It found an automatically created folder for some artist named "A$AP Rocky" on the Array and evaluated the $ as the root folder for the webUI, and kept moving the entire contents of /usr/local/emhttp to the cache pool, effectively completely breaking unraid's web UI until reboot and trashing up the cache drives.

2 hours ago, msalad said:

Hey @Masterwishx , have you had a chance to look at my debug.zip yet? Thanks

Was no changes for exclude files in last update, checked your debug.

You should remove /mnt/user/... from the list in file.

Only use cache pool path in exclude option list file (from where moving files).

Edited by Masterwishx

Hi all

Recently installed a plugin, and some weird stuff is happening; basically, the mover stops working.

With these settings, now the Cache is about 81% filled, and nothing is happening. I try to use the Move button, and nothing happens. For a few seconds, there is some activity on the cache array, and nothing happens after that. image.png

35 minutes ago, shteud said:

Recently installed a plugin, and some weird stuff is happening; basically, the mover stops working.

Disable Test Mode

58 minutes ago, Masterwishx said:

Disable Test Mode

ye, my bad.

thx

But the automatic mover doesn't start (maybe I need to wait more time). The manual mover works. I will check later how the automatic mover works after the pool is filled again.

6 hours ago, shteud said:

But the automatic mover doesn't start (maybe I need to wait more time). The manual mover works. I will check later how the automatic mover works after the pool is filled again.

Check the logs, mover run after move threshold is meat, in you case 75%.

Also read help description by press on option or press F1.

6 hours ago, shteud said:

ye, my bad

In next version Test Mode will be disabled by default, as was asked by Admin in Discord, Also that couse to new users not understanding why mover not move data like in your case.

However I made visible that Test Mode enabled in syslog and in notify, but seems not helpful.

On 10/6/2025 at 11:21 PM, Kitrinx said:

It found an automatically created folder for some

Post debug.zip with issue.

6 hours ago, shteud said:

But the automatic mover doesn't start (maybe I need to wait more time)

Also mover tuning run by mover schedule settings

ca.mover.tuning-debug-20251015-1854.zip

Ok, at last I filled Cache enough to make mover work. It's few hours gone and seems like plugin do nothing. Cache utilization stuck on 84% and no activity on disk at all.

Actual settings


image.png

Edited by shteud

Hello,

I'm seeing a lot of these:

Oct 16 08:00:10 homelabserver move: Moving "/mnt/cache-docker/./backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordanië Filip.albelli_album/1__#$!@%!#__VS West-Kust 2014_31-11.JPG"  to  /mnt/user0/ 
Oct 16 08:00:10 homelabserver move: rsync: [sender] link_stat "/mnt/cache-docker/backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordani\#303\#253 Filip.albelli_album/1__#@%!#__VS West-Kust 2014_31-11.JPG" failed: No such file or directory (2)
Oct 16 08:00:10 homelabserver move: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]
Oct 16 08:00:10 homelabserver move: Not deleting folder containing 2 files: /mnt/cache-docker/backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordanië Filip.albelli_album
Oct 16 08:00:10 homelabserver move: 206 files remaining from caches to array  1.1GiB
Oct 16 08:00:10 homelabserver move: Moving "/mnt/cache-docker/./backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordanië Filip.albelli_album/1__#$!@%!#__1__#$!@%!#__VS West-Kust 2014_31-22.JPG"  to  /mnt/user0/ 
Oct 16 08:00:10 homelabserver move: rsync: [sender] link_stat "/mnt/cache-docker/backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordani\#303\#253 Filip.albelli_album/1__#@%!#__1__#@%!#__VS West-Kust 2014_31-22.JPG" failed: No such file or directory (2)
Oct 16 08:00:10 homelabserver move: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]
Oct 16 08:00:10 homelabserver move: Not deleting folder containing 1 files: /mnt/cache-docker/backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordanië Filip.albelli_album
Oct 16 08:00:10 homelabserver move: 205 files remaining from caches to array  1.1GiB
Oct 16 04:00:24 homelabserver move: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]
Oct 16 04:00:24 homelabserver move: Not deleting folder containing 13 files: /mnt/cache-docker/backup/Synology/nextcloud/data/iline/files_trashbin/files/fotoalbum Slovenië.albelli_album.d1672067733
Oct 16 04:00:24 homelabserver move: 15 files remaining from caches to array  67MiB
Oct 16 04:00:24 homelabserver move: Moving "/mnt/cache-docker/./backup/Synology/nextcloud/data/iline/files_trashbin/files/fotoalbum Slovenië.albelli_album.d1672067733/1__#$!@%!#__VS West-Kust 2014_31-9.JPG"  to  /mnt/user0/

and I was wondering how I can fix this? I run 7.1.4 with the CA Mover Tuning (2025.10.03)

I used to run nextcloud on my unraid server but now it is running on a synology server which backups (using resilio sync) to my unraid (cache drives and then moves it to my hard drives).

7 minutes ago, Soulplayer said:
move: rsync error: some files/attrs were not transferred (

Related to rsync I think

8 minutes ago, Soulplayer said:

I used to run nextcloud on my unraid server

Consider to switch to move instead rsync?

18 hours ago, shteud said:

ca.mover.tuning-debug-20251015-1854.zip

Ok, at last I filled Cache enough to make mover work. It's few hours gone and seems like plugin do nothing. Cache utilization stuck on 84% and no activity on disk at all.

Actual settings


image.png

Nah. Cache goes to 96% and still nothing. Only manual mover works

3 hours ago, Soulplayer said:

and I was wondering how I can fix this?

Disable filename validation, or remove those special chars in the filenames, it's just asking for things to break.

Edited by Kilrah

2 hours ago, Kilrah said:

Disable filename validation, or remove those special chars in the filenames, it's just asking for things to break.

Seems its some rsync attribute or permission maybe, not related to file validation :

rsync: [sender] link_stat "/mnt/cache-docker/backup/Synology/nextcloud/data/iline/files/Fotoalbums/Jordani\#303\#253 Filip.albelli_album/1__#@%!#__VS West-Kust 2014_31-11.JPG" failed: No such file or directory (2)
Oct 16 08:00:10 homelabserver move: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]

When file validation, you can see error message about it :)

4 hours ago, shteud said:

Nah. Cache goes to 96% and still nothing. Only manual mover works

Your cron is set for once at week :

“At 02:00 on Sunday.”

at 2025-10-19 02:00:00

then at 2025-10-26 02:00:00

then at 2025-11-02 02:00:00

then at 2025-11-09 02:00:00

then at 2025-11-16 02:00:00

49 minutes ago, Masterwishx said:

Your cron is set for once at week :

“At 02:00 on Sunday.”

at 2025-10-19 02:00:00

then at 2025-10-26 02:00:00

then at 2025-11-02 02:00:00

then at 2025-11-09 02:00:00

then at 2025-11-16 02:00:00

I thought utility override def mover settings. So what should I do? disable default mover sheduler?
(sorry i bit more casual unraid user, once i installed and tuned I forget most things I do with it, back to it only to change HDD on bigger one ;))

image.png
I mean to put Yes on this option?

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.