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

Mover ignore is also not working for me. Added 3 folders to mover_ignore.txt and they are being copied over to the array.

  • Replies 3.6k
  • Views 547.4k
  • 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, Octavius_Flavius said:

Mover ignore is also not working for me. Added 3 folders to mover_ignore.txt and they are being copied over to the array.

Ignore is currently working for me.  Make sure you're specifying the right location as I also made that mistake originally.  For example:

 

/mnt/cache/data/cross-seed-links/
/mnt/cache/data/cross-seeds/
/mnt/cache/data/downloads/
/mnt/cache/data/irc/
/mnt/cache/data/torrents/
/mnt/cache/data/media/music/
/mnt/cache/data/scripts/

 

And not this format: /mnt/user/data/...

Edited by ronia

18 hours ago, ronia said:

Ignore is currently working for me.  Make sure you're specifying the right location as I also made that mistake originally.  For example:

 

/mnt/cache/data/cross-seed-links/
/mnt/cache/data/cross-seeds/
/mnt/cache/data/downloads/
/mnt/cache/data/irc/
/mnt/cache/data/torrents/
/mnt/cache/data/media/music/
/mnt/cache/data/scripts/

 

And not this format: /mnt/user/data/...

 

I am using the following settings:

 

Move files off Primary (cache) based on age? yes

Move files that are greater than this many days old: auto

Ignore files and folders listed inside of a text file: yes

File list path:  /mnt/data/virtualization/appdata/mover_ignore/mover_ignore.txt

 

within mover_ignore.txt I added the following entries:

/mnt/cache/media/torrents/
/mnt/cache/media/transcode/
/mnt/cache/media/usenet/

Will the rebalance option honor the split level? I have some directories in my share on the array that for whatever reason are not split across the directories like they should be. unbalance helps but I would have to go to each subdirectory and fix it manually. I was hoping that rebalance not only rebalances between primary and secondary but also would "fix" wrong splits within secondary... Any chance?

On 3/21/2025 at 10:53 PM, cbr600ds2 said:

 

oh I don't even have that- I'll check it out.  Thanks!  

 

Ok so I found it and fixed it.  The Movies get cleared but the TV folder keeps the TV show folders.   Is that a weird glitch?  

3 hours ago, cbr600ds2 said:

TV folder keeps the TV show folders.   Is that a weird glitch?  

Is this dataset or folder on zfs? 

Post the logs

9 hours ago, JPHobby said:

Any chance?

I think only primary and the secondary 

On 3/19/2025 at 2:49 PM, Masterwishx said:

Fixed issue with wrong thresholds for cache:yes , you can check it by download and test :  https://github.com/masterwishx/ca.mover.tuning/blob/dev-new-fixes-4/source/ca.mover.tuning/usr/local/emhttp/plugins/ca.mover.tuning/age_mover

 

I have tested this in the new version and the thresholds seem to be following the global settings now. Thanks!

 

However, I seem to also be having the same issue as others where the mover is still moving files that should be ignored. In light of my previous issues, I'm wondering if this isn't also an issue with the global settings not being applied.

 

My mover ignore script includes:

     /mnt/buffer/data/usenet
     /mnt/buffer/data/torrent
     /mnt/buffer/./data/usenet
     /mnt/buffer/./data/torrent

 

However I am still getting the following when running mover:

     Moving "/mnt/buffer/./data/usenet/complete/default/test_download_10GB.1.4/test_download_10GB.bin"  to  /mnt/user0/ 
 

5 hours ago, Ichthus said:

global settings not being applied.

Post logs and debug logs 

5 hours ago, Ichthus said:

My mover ignore script includes

What the path of ignore file? 

Hey guys! I just migrated from the other mover tuning plugin, and wondered if any of you could give my settings a quick look? Basically I only want to move all my files once a week (cron job), and have it check every hour to see if the cache is over 75% (in which case, it would start moving). Is this the way to go? Cheers!

 

image.thumb.png.b7a4229096a4361a4bdfff448687bab2.png

1 hour ago, Masterwishx said:

What the path of ignore file? 

Doh... my bad... I had the wrong file referenced. All is good now!

 

Thanks again!

2 hours ago, Rijstkeizer said:

if the cache is over 75% (in which case, it would start moving

Looks fine will move after 75% until 0%

I am using

 

Move files off Primary (cache) based on age? --> YES

 

with 15 days. The cache is under the threshold. I was of the opinion that even though the usage is not over the threshold the mover plugin should move files older than 15 days to secondary storage. Is this not true or is this a bug?

 

Regards

JP

7 hours ago, JPHobby said:

Is this not true or is this a bug?

not a bug

 

7 hours ago, JPHobby said:

I was of the opinion that even though the usage is not over the threshold the mover plugin should move files older than 15 days to secondary storage

nope, 1st trigger is treehold, IF > N % ... start moving ... and then move all > 15 days old ... keep the newer files still caced.

 

so its a feature, not a bug ...

 

IF you want only aging as measurement, set treeholds low like 0 0 ... keep your age rule, mover will always move files > 15 days old away, if that is what you looking for ...

Hello all. I’m having an issue where mover tuning is filling my flash drive with logs. 
 

/tmp/ca.mover.tuning

 

I have logging disabled but still writing files to /tmp and after ~48 hours will write 8gb to flash and fill it and crash server. 
 

Included ss is after ~12 hours. 
 

I’ve had to uninstall to stop this. 
 

thank you. 

IMG_9708.png

IMG_9707.png

12 minutes ago, elmlund said:

Hello all. I’m having an issue where mover tuning is filling my flash drive with logs. 
 

/tmp/ca.mover.tuning

Do you have /tmp on flash drive? 

 

In next version will be option to change parent folder logs location + age for logs and list files

5 minutes ago, Masterwishx said:

Do you have /tmp on flash drive? 

 

In next version will be option to change parent folder logs location + age for logs and list files

Yeah not sure why /tmp is there. I would like it not to be but that how it's been since the Unraid 7 update and moving to the newest mover tuning. 

 

Would be great to use again and would be fantastic to be able to move logs to array and have them wipe after a few days. Thank you heaps. 

 

Awesome work!

AH I might have been cracked out when I thought that was flash drive. Guess that's just the rootfs. 

 

I had 16GB RAM installed, seems when mover tuning would max the /tmp allocation of 8GB it would cause system to hang due to running out of memory possibly?

 

I just installed another 16GB (so 32GB total now), and can see the /tmp is now 16GB.

 

This might have fixed my issue, but being able to get the logs off RAM would be good anyhow. 

Yeah it crashes either because the rootfs is full or you were using more than half the RAM already.

 

It should just not log that much, are you sure you turned off all logging?

20 minutes ago, Kilrah said:

Yeah it crashes either because the rootfs is full or you were using more than half the RAM already.

 

It should just not log that much, are you sure you turned off all logging?

Based on the settings I’ve seen, I believe all of them are off. 

 

ElmlundStorageScheduler.thumb.png.e142411647c94cf41db7f55b00244d92.png

Edited by elmlund

2 hours ago, elmlund said:

ve them wipe after a few days.

They already auto removed 5days for logs 10 for list.

But in next version you can change the age for them. 

 

Note :  When enable/disable logging . Then ONLY syslog and /Mover_tuning_$NOW.log" will be disbled , also will be fixed in new version

Can't disable list files

Hey Everyone, I'm hoping you can help me out.

 

My RAM keeps filling up and I've identified that it's the mover log and run files causing the issue. They are not being cleaned up or removed and therefore keep filling up the RAM, particularly the .list files. I've tried rebooting and reinstalling the plugin, but no luck. I've manually deleted older files to stop the RAM completely filling up and crashing the system, which has happened once already.

 

image.png.253eaa5f5c757bfd1edb7e18de31ff81.png

 

For additional context if it helps, I recently had some corruption issues on my cache pool due to one of the two ssd drives failing. I've removed the failing drive from the pool and left it as a single drive for the time being. I don't think this would have anything to do with this issue but wanted to mention it.

 

I have also recently upgraded to v7 and 7.0.1.

vault-diagnostics-20250329-1636.zip

Edited by SubbyDew

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.