unRaide Posted April 18, 2023 Share Posted April 18, 2023 (edited) Just when I think I've figured out how to setup my Cache / Shares I end up with some disk full... Here's what I'm trying to figure out: I have a few shares (appdata, isos, downloads, system, domains) all set to Cache: Prefer with a minimum free space of 20GB except for downloads which is 120GB (I made this so high after running out of disk space when downloading a massive iso). I then have a 500GB cache pool with a minimum free space of 100GB (also had the same issue as above and set this high to avoid running out of disk space). My cache drive is currently sitting at 413GB used and 85GB free so my logs are getting spammed with `UnRaider shfs: cache disk full` messages I also have Mover setup to run every 8 hours My question is how do I manage how much free space is available on the cache and which files are moved to it, especially seeing as the shares set to "Prefer" amount to way more than 500GB? Shouldn’t Mover move files off the cache to at least satisfy the 100GB minimum space requirement? How should I setup this up to avoid future issues? Also, looking at my mover logs I just see stuff like this: Edited April 18, 2023 by unRaide Quote Link to comment
Solution itimpi Posted April 18, 2023 Solution Share Posted April 18, 2023 3 hours ago, unRaide said: My question is how do I manage how much free space is available on the cache and which files are moved to it, especially seeing as the shares set to "Prefer" amount to way more than 500GB? Shouldn’t Mover move files off the cache to at least satisfy the 100GB minimum space requirement? The behaviour you describe sounds correct for the way that you have your system is currently set up. You are trying to overload your pool capabilities. A point to remember is that Minimum Free Space does NOT mean keep that amount of space free. It is a value that when it drops below that the NEXT file to be created is sent to a different drive. The current file will continue until it is complete which can take the free space well below the setting value.. That is why you want that setting to be larger than the biggest file you want to transfer. Mover will not automatically move files off to get to the Minimum Free Space value. It does not make sense to have Use Cache=Prefer for shares which total more than the available space. You should either restrict this setting to those shares you really want on the pool and that will fit, or alternatively you can increase the size of the pool, or create additional pools. Many people will have separate pools for caching, docker apps, VMs etc with each one using hardware and settings optimised for that type of use although there is nothings stopping you combining these functions onto a single pool. Quote Link to comment
apandey Posted April 18, 2023 Share Posted April 18, 2023 (edited) Echo points made by @itimpi, sounds like you need more/bigger caches and use them selectively An additional suggestion - maybe you can also look at mover tuning plugin and schedule it aggressively with disk free threshold settings Edited April 18, 2023 by apandey 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.