Mover Tuning-Keep media on cache as long as possible
I've got 4tb cache and i would like it to be able to keep as much media on the cache as possible and then only move it when needed (not on a hourly/daily/weekly/monthly schedule).
I ingest about 1tb/month of media so i should be able to keep at least 3mo worth of media directly on the cache without having to touch any of the spinning drives.
Currently i have Mover Settings set to Monthly (on the 4th of the month) and Mover Tuning Settings as below, and i noticed that a few days ago my cache drives was basically empty. Is it the first one that i should set to YES? Ideally i would have it so that 90 days would be stored on the cache, and then move media older than 90days (I currently have it set to 75days) off the cache as time goes.
The "*Note that setting this to yes effectively disables this plugin" is throwing me off.
Mover Tuning Settings
Disable Mover running on a schedule: No
Priority for mover process Normal
Priority for disk I/O Normal
Only move at this threshold of used cache space: 0 %
Move files off cache based on age? Yes
Move files that are greater than this many days old: 75
Use CTIME: No
Move files based on minimum size? No
Move files that are larger than this size (In M). (blank)
Move files off cache based on sparseness? No
Move files that are greather than this sparseness: (blank)
Ignore files listed inside of a text file: No
File list path:(blank)
Ignore file types:(blank)
comma seperated list of file types:(blank)
Let scheduled mover run during a parity check / rebuild: No
Force turbo write on during mover: Yes
Log when not moving due to rules: No
Force move of all files on a schedule: No
Cron Schedule to force move all of files:(blank)
Allow force mover schedule to run during a parity check/rebuild: Yes
Ignore All hidden files and directories No
Script to run before mover (No checks, always runs):(blank)
Script to run after mover (No checks, always runs):(blank)
Move All from Cache-Yes shares when disk is above a certain percentage: Yes
Move All from Cache-yes shares pool percentage: 5 %
Move Now button follows plug-in filters: No
Test Mode: No
You want to change the setting: Only move at this threshold of used cache space
Right now, you have it set to 0%, which means that it will move your files if your cache is more than 0% full. You can probably set it to 95%, which means when your cache has 3.8TB full, it will move everything over.
Id personally give it more overhead at like 85% full, but I also do big batches of downloads.
Thanks. I'll give this a try!
Should I still leave the first option to No?
Is there an option, if i want to copy all files to the array every night by the Move Scheduler, so they are backed up by parity, but also kept on the cache for fast access and only move (so delete on the array) when the drive is 85% full?
I considered reducing the cache moving to the array, but then I realized all the data in my cache is not protected by parity until it’s on the array. I would hate to load a batch of photos onto unraid only to have my cache drive for a few days later and lose the photos
Anything important goes into folders that do no use the cache. That way it goes straight to the array with parity drives.
While not protected by parity, assuming your ingest pool has redundancy via something like RAID1/10 it's effectively the same thing. If you only use a single cache drive it's definitely a concern though.
Regardless, I fail to see the need to keep downloaded stuff on flash for as long as OP wants it there, though. Must be a niche specific use case.