Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[solved] New server. cache doesn't work as it should

Featured Replies

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 by EduardoGula

  • Community Expert

Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread.

  • Community Expert
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.

 

  • Author

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,

 

  • EduardoGula changed the title to [solved] New server. cache doesn't work as it should

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.