Jump to content
We're Hiring! Full Stack Developer ×

Cache drive suddenly not used


Recommended Posts

I'm about a month into using Unraid and my cache drive suddenly stopped being used. I have a 500gb SSD assigned to a cache pool, and my share is set to "Yes" for the cache option with that pool selected.

 

It was working great and utilizing the cache drive until a week ago. I haven't made any changes to my configuration, but I noticed that files of all sizes are now being written directly to the array. My cache drive remains virtually empty and as new files are written I see write activity on the array and not the SSD. Any ideas on what could have caused this change and how to fix it?

Edited by 8BitMercy
Link to comment

Well, that worked. Thank you!

 

I still don't quite get the logic though. In my mind setting a value for the minimum free space on a share would cap how much data can be saved so I don't 100% fill the drives and would have no impact on the cache behavior. Can't complain that it's fixed, I just like to understand these things.

Link to comment
2 hours ago, 8BitMercy said:

Well, that worked. Thank you!

 

I still don't quite get the logic though. In my mind setting a value for the minimum free space on a share would cap how much data can be saved so I don't 100% fill the drives and would have no impact on the cache behavior. Can't complain that it's fixed, I just like to understand these things.

I believe that Unraid currently uses the larger of the Minimum Free settings for the cache and the share in deciding if it can use the cache.

 

I personally think these two settings should be independently applied to the cache and the array but at the moment that does not appear to be the case :(   I am not sure if this is intended behaviour or just how it currently works :) 

  • Thanks 1
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.

×
×
  • Create New...