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] Files written to cache even though share set to "Cache = no"

Featured Replies

I received a warning from Fix Common Problems that I have files on my cache drive for a share that's set to not use cache.

 

Here's the config for the "Sport" share:

629861106_2021-08-3014_38_28-NAS_ShareMozillaFirefox.png.22815c1785151964303a255d5a72d4c8.png

 

Browsing the cache pool shows that recent files are there for the Sport share:

image.png.972d91064a612ced29b7c42b9693a899.png

I copied the files from a temp directory (on Cache) to the Sport share using Krusader. Here's the path as reported by Krusader:

image.png.1a523e13be404577378da61d2898794b.png

And here is the mapping for /media from the Krusader config:

image.png.0785dcd8bc389231b093b6b6078a9502.png

 

Why is Krusader writing these files to the cache pool instead of waking up the drive (if necessary) and writing them directly to the array?

 

 

nas-diagnostics-20210830-1450.zip

 

Edited by FreeMan

  • Community Expert

Did you try copying the files or moving them?     I am asking because you can get strange results using move where the file remains on the same drive but in the new directory (this is a by-product of the way Linux implements move and the fact that Linux does not understand User Shares).  You have to do a copy followed by a delete of the original to avoid this effect.

  • Community Expert

#2 in this post I often refer to:

 

  • Author
13 minutes ago, itimpi said:

Did you try copying the files or moving them?

I moved them as I've been doing for ages. I've gone back and forth between using cache and not, but don't recall having run into this before.

 

Based on your question, I copied them from the array to the cache-based temp directory, deleted them from the array, copied them back from cache to the array and deleted them from Cache. Now there are no file on cache.

 

Thanks!

 

10 minutes ago, trurl said:

#2 in this post I often refer to:

Thanks. I have been very much aware of the "don't cross the streams" admonition for years. Since I'm using Krusader and both directory windows work from "/media" I assumed (with all inherent danger, obviously) that it would work properly since it's always worked that way in the past.

 

I guess I know better now, and will be sure to "copy/delete" instead of "move" from here on out.

Edited by FreeMan

  • FreeMan changed the title to [SOLVED] Files written to cache even though share set to "Cache = no"

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.