Invoke Mover when cache is full


Recommended Posts

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.

  • Like 1
  • Upvote 1
Link to comment

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. 

 

 

Link to comment

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. 

 

 

Link to comment
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 by Kilrah
Link to comment
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).

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.