EduardoGula Posted August 1, 2021 Share Posted August 1, 2021 (edited) Hello, I installed a new Unraid server and set the share cache to Yes. When I did the first file load, the copy failed and I got a warning that the cache disk was full. In order to make the copy, I needed to invoke the move manually. I repeated the same test using the share cache option as Yes and Prefer and the error was repeated. The information I read in the manual is that with the Yes cache option, all new files and subdirectories are written to the cache, if there is enough free space in the cache. If there is insufficient cache space, new files and directories will be created in the array. But in practice, this does not happen: When there is no space in the cache, the copy simply fails. Is this a bug, it doesn't really work or am I doing something wrong? This is a server to store videos I produce for Youtube and online courses. Usually these are 300Mb to 2Gb video and other smaller files for thumbs and mp3 files. If this feature doesn't work, it would need to have a very large cache disk to be sufficient for file moves. If I don't enable the cache, I noticed that writing is very slow. the server is with 2 x 6Tb - parity disks 3 x 3tb - data discs 1 x 256gb ssd - cache disk Greats, Eduardo Edited August 1, 2021 by EduardoGula Quote Link to comment
trurl Posted August 1, 2021 Share Posted August 1, 2021 Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread. Quote Link to comment
trurl Posted August 1, 2021 Share Posted August 1, 2021 9 minutes ago, EduardoGula said: If there is insufficient cache space, new files and directories will be created in the array. Unraid has no way to know how large a file will become when it chooses a disk for it. If cache has less than Minimum Free, Unraid will choose an array disk. You must set Minimum Free for cache to larger than the largest file you expect to write to cache. Each user share also has a Minimum Free setting that works in a similar manner. If a disk has less than Minimum, Unraid will choose another disk. Quote Link to comment
EduardoGula Posted August 1, 2021 Author Share Posted August 1, 2021 Wonderful! As the files I'm going to save will hardly exceed 2gb, I set the minimum space to 10gb and it worked beautifully! Thanks, 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.