Jaybau Posted August 12, 2022 Share Posted August 12, 2022 When the cache drive becomes full, automatically invoke the Mover to move files from cache to array. I don't want to wait for the schedule to move files, nor manually move files. Automatic move can be an option. Quote Link to comment
itimpi Posted August 12, 2022 Share Posted August 12, 2022 3 minutes ago, Jaybau said: When the cache drive becomes full, automatically invoke the Mover to move files from cache to array. I don't want to wait for the schedule to move files, nor manually move files. Automatic move can be an option. Have you tried the Mover Tuning plugin to see if that satisfies your needs? BTW: You should always set a sensible Minimum Free Space setting for any pool as file systems tend to misbehave if they get too full. 1 1 Quote Link to comment
trurl Posted August 12, 2022 Share Posted August 12, 2022 It is impossible to move from fast cache to slow array as fast as you can write to cache. You are doing it wrong. Quote Link to comment
kizer Posted August 12, 2022 Share Posted August 12, 2022 1. First off make sure all your shares are set to use cache:yes not only unless there are specific ones you want to stay on cache 2. Click on your Cache and look for Minimum free space. it will be grey'd out until you stop the array to change its value. Make sure its set to at least 2x the size of your largest file so if you edit a file it has room to move. I personally have mine set to 50GB, but whatever suits you. If your going to cache a lot more I'd recommend upping the Minimum free space. 3. I use a 1TB SSD and I never come close to filling it. Maybe you need a larger SSD unless your constantly filling it with content and size isn't the issue. You can use the Mover Plugin which you can program to monitor your cache and move files based on specific parameters. Keep in mind it follows the scheduler for the regular mover, but does extra checks prior to moving. For example mine checks daily at 5:45AM and then fires off the plugin. I don't need it to run hourly. Quote Link to comment
trurl Posted August 12, 2022 Share Posted August 12, 2022 1 minute ago, kizer said: specific ones you want to stay on cache appdata, domains, system Quote Link to comment
Jaybau Posted August 12, 2022 Author Share Posted August 12, 2022 4 minutes ago, kizer said: 2. Click on your Cache and look for Minimum free space. it will be grey'd out until you stop the array to change its value. Is the default 0? Quote Link to comment
kizer Posted August 12, 2022 Share Posted August 12, 2022 it very well could be. I don't recall I changed mine years. ago. Should say. Minimum free space: If you click on it, there should be a help box that gives your some examples. I have mine set to 50GB, but your needs might need to be more or less depending on you usage. Quote Link to comment
JonathanM Posted August 12, 2022 Share Posted August 12, 2022 2 minutes ago, Jaybau said: Is the default 0? At the moment, yes, because we have no way of knowing what a good value would be for any specific setup. It's up to you to set a sane value. 1 Quote Link to comment
Jaybau Posted August 12, 2022 Author Share Posted August 12, 2022 I ran into a different mess when with the default of zero (I don't think the default should be zero since zero is the most insane value...at least for me it was). 1 Quote Link to comment
Kilrah Posted August 12, 2022 Share Posted August 12, 2022 (edited) 2 hours ago, JonathanM said: At the moment, yes, because we have no way of knowing what a good value would be for any specific setup. It's up to you to set a sane value. IMO it should default to something like 10% of the drive capacity. Better to default to a safe setup even if that may mean losing access to some space by default and need changing to less to reclaim some space if that much isn't needed than risking filesystem corruption because it was set to 0 and filled to the brim... Edited August 12, 2022 by Kilrah Quote Link to comment
itimpi Posted August 12, 2022 Share Posted August 12, 2022 42 minutes ago, Kilrah said: IMO it should default to something like 10% of the drive capacity. Better to default to a safe setup even if that may need losing access to some space by default and need changing to less to reclaim some space if that much isn't needed than risking filesystem corruption because it was set to 0 and filled to the brim... I’ve been suggesting this for some time if it is spotted that the value is 0, and leave it alone if it is any other value (I.e. explicitly set by the user). Quote Link to comment
Recommended Posts
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.