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.

PLEASE HELP, struggling to get chaching to work !

Featured Replies

 

Hi all, Im struggling to get my unraid server to use the cache, its stays at 22% regardless of where I copy files from/to

 

I have set the shares to use the cache for primary storage and the hard drive array as the secondary

 

I have attached images of the settings ive used, any help would be very much appreciated 

 

2.thumb.PNG.4507ac984c50d78df1440988c6cfeaa8.PNG

 

 

1.PNG

2.PNG

Edited by Ash3000k

Solved by itimpi

  • Community Expert

First thing.  The cache drive is only used to store new files being written to the share.  (Files that are being updated are written directly to the array.)  

image.thumb.png.103a690e0e35cd37ebbb0cb060601584.png

 

Second thing.  Reading a file from the array will not move it to the cache.   With your settings, once the file is on the array, it will always be there unless you delete the file.

 

Does this clarify the situation?

  • Author

Hi, thank you i understand, however if I understand how it should operate, when I copy a new file to the PLEXMEDIA share it should use the cache but it doesn't, it just sits at 22% 

 

Im doing a little research and someone mentioned that it may be a setting that needs to be changed in the 'global shares page'? however I cant see an option to enable cache in it or am I looking at the wrong page? 

 

thanks in advance!

3.thumb.PNG.7f2430142be1b421aaf4171fe6fa2034.PNG

  • Community Expert

You might want to check that the pool to be used for caching has “Enable User Share Assignment” set to Yes. 
 

You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread. It is always a good idea when asking questions to supply your diagnostics so we can see details of your system, how you have things configured, and the current syslog.

  • Author
11 minutes ago, itimpi said:

You might want to check that the pool to be used for caching has “Enable User Share Assignment” set to Yes. 
 

You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread. It is always a good idea when asking questions to supply your diagnostics so we can see details of your system, how you have things configured, and the current syslog.

Hi. thank you, I have checked the pool device like you suggested and seems to be on already: 

 

+ I have attached the diagnostic, and thanks!

 

1.thumb.JPG.272a2b5119d40a26838154ad3bfd685a.JPG

 

bignas-diagnostics-20240526-1759.zip

  • Community Expert
  • Solution

According to the diagnostics you currently have 24GB on the cache:

/dev/nvme0n1p1                 466G  110G  356G  24% /mnt/cache

and several shares have files on the cache

appdata                           shareUseCache="prefer"  # Share exists on cache
domains                           shareUseCache="prefer"  # Share exists on cache
isos                              shareUseCache="prefer"  # Share exists on cache
P-------A                         shareUseCache="yes"     # Share exists on cache, disk1, disk2, disk3, disk4
system                            shareUseCache="prefer"  # Share exists on cache, disk1
t--t                              shareUseCache="yes"     # Share exists on cache, disk2
t-------e                         shareUseCache="only"    # Share exists on cache


need to give more detail as it looks from that as it looks as if cache is actually working.

 

in practice you want to get all of the ‘system’ share onto the cache to maximise performance.   To do so you would need to temporarily disable the docker service and then run mover manually.  After doing that you can re-enable docker service.

  • Author
15 minutes ago, itimpi said:

According to the diagnostics you currently have 24GB on the cache:

/dev/nvme0n1p1                 466G  110G  356G  24% /mnt/cache

and several shares have files on the cache

appdata                           shareUseCache="prefer"  # Share exists on cache
domains                           shareUseCache="prefer"  # Share exists on cache
isos                              shareUseCache="prefer"  # Share exists on cache
P-------A                         shareUseCache="yes"     # Share exists on cache, disk1, disk2, disk3, disk4
system                            shareUseCache="prefer"  # Share exists on cache, disk1
t--t                              shareUseCache="yes"     # Share exists on cache, disk2
t-------e                         shareUseCache="only"    # Share exists on cache


need to give more detail as it looks from that as it looks as if cache is actually working.

 

in practice you want to get all of the ‘system’ share onto the cache to maximise performance.   To do so you would need to temporarily disable the docker service and then run mover manually.  After doing that you can re-enable docker service.

YES ive figured it out, It was my error as when I was using the app 'unassigned devices' to copy new files over I accidentally was selecting "disk 4/ PLEXMEDIA" rather than "Cache/PLEXMEDIA" !! its now consuming the cache as its transferring!! thank you so much for your help kind sir/mam! 😄 + I will look into moving that over thank you

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.