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.

files keep getting written in cache pool but no share is supposed to use it.

Featured Replies

Hi all, 
There is something that is driving me insane, I have 3 cache pool (1. nvme name "cache" 2. dual SSD named "Docker" and dual SSD named Plex) all my shares are "supposed to use" Docker and Plex all these have a combination of Yes share and Prefer to the appropriate cache pool. NONE of my shares are setup to use the nvme CACHE pool, but somehow a docker container is still using it and I narrowed it down to nzbget and qbittorrent. I triple checked that I didn't map /mnt/cache directly to any of those dockers all have /downloads mapped to /mnt/user/downloads which is equivalent to YES - Docker <<< dual SSD pool. 
So why is cache nvme still get used even though nothing is mapped to it? it's driving me crazy since makes the downloads share "unprotected" and files get stuck there causing mover to not do his job. 
** I even moved files out of cache and got it to be green as it should be, but as soon I download something it gets copied to the cache pool.

 

Screen Shot 2021-12-15 at 7.29.20 PM.png

Edited by ailliano

  • Community Expert

Are you sure you do not have anything mapped to the cache that could trigger the behaviour described here?

  • Author
8 hours ago, itimpi said:

Are you sure you do not have anything mapped to the cache that could trigger the behaviour described here?

nothing mapped to that cache disk beside the isos share which I don't use, but I could be missing something
"

Make sure the mount points for source and target appear to be different at the Linux level.

"
What does the above means ? and how can I check

Thank you

  • Community Expert

Do you have any application or anything else moving files TO the downloads share?

  • Community Expert

According to your diagnostics you have a share anonymized as "d-------s" mapped to the cache.  If that is the 'downloads' share then remember that any docker that has a mapping to /mnt/user/downloads will be writing to the 'cache' pool.

 

Do all the .cfg files in the config/shares folder on the flash drive correspond to shares you currently have?  If not you could tidy the diagnostics by deleting any that do not correspond to current shares.

  • Community Expert
1 minute ago, itimpi said:

a share anonymized as "d-------s" mapped to the cache

It is cache-yes but set to use a pool named "docker"

  • Community Expert
4 minutes ago, trurl said:

It is cache-yes but set to use a pool named "docker"

Mis-read that one :( 

 

It might be worth providing the docker run commands for the nzbget and qbittorrent containers so we can see all the mappings they are using if it is thought one of them is the culprit.

  • Author
1 hour ago, itimpi said:

Mis-read that one :( 

 

It might be worth providing the docker run commands for the nzbget and qbittorrent containers so we can see all the mappings they are using if it is thought one of them is the culprit.

I force updated the 2 containers and both docker run show they are mapped to mnt/user/downloads, which is not on Cache :/ 

  • Community Expert
1 hour ago, trurl said:

Do you have any application or anything else moving files TO the downloads share?

 

  • Author
5 minutes ago, trurl said:

 

not that I know of... I read thru all the docker mappings and nothing showing /mnt/cache/downloads , any way to check what's using what ? 

  • Author

could it be the name of the cache ? why is only cache showing full name and other 2 are --------- covered ? 

  • Community Expert
13 minutes ago, ailliano said:

not that I know of... I read thru all the docker mappings and nothing showing /mnt/cache/downloads , any way to check what's using what ? 

I wasn't asking about mappings. If you have something moving from a share on one pool to a share on another pool, that is when the situation explained in this link given earlier might happen.

https://wiki.unraid.net/Manual/Troubleshooting#Files_end_up_on_cache_despite_Use_Cache.3DNo_setting_for_a_share

  • Author

I deleted everything in downloads and started the containers one at the time, seems like upon starting nzbget writes in cache 

Screen Shot 2021-12-16 at 11.11.50 AM.png

  • Author
1 minute ago, trurl said:

Post docker run for nzbget

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nzbget' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Loki" -e HOST_CONTAINERNAME="nzbget" -e 'PUID'='99' -e 'PGID'='100' -e ' DOCKER_MODS'='ghcr.io/gilbn/theme.park:nzbget' -e 'TP_THEME'='aquamarine' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:6789]/' -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nzbget-icon.png' -p '6789:6789/tcp' -v '/mnt/user/downloads/':'/downloads':'rw' -v '/mnt/user/appdata/nzbget':'/config':'rw' 'linuxserver/nzbget'


The command finished successfully!

  • Author

same with qbittorrent...not sure why these 2 keep writing in the wrong cache

  • Author

i wrote a test file in /mnt/user/downloads and sure enough ends up in /mnt/cache/downloads, not /mnt/cache/downloads, so it's not even a docker issue, somehow unraid thinks that downloads is a different location that is mapped to.

13 minutes ago, ailliano said:

same with qbittorrent...not sure why these 2 keep writing in the wrong cache

 

It's worth checking the Path settings within NZBGet. The main path is /config as default ...

 

 

Edited by hawihoney

  • Author
1 minute ago, hawihoney said:

 

It's worth checking the Path settings within NZBGet. The main path is /config as default ...

 

 

path on both is /mnt/user/downloads

  • Community Expert

I agree it looks like it should work :( 

You could try changing the mapping to use /mnt/docker/downloads instead of /mnt/user/downloads so it is by-passing the User Share handling level?

These are my settings for NZBGet. Perhaps this helps. Docker:

 

Unbenannt.thumb.jpg.5d96e11e580d78419514b56080e09298.jpg

 

 

image.thumb.png.79e7d5a3af07508d6149a99dede87ab1.png

 

  • Author
1 minute ago, itimpi said:

I agree it looks like it should work :( 

You could try changing the mapping to use /mnt/docker/downloads instead of /mnt/user/downloads so it is by-passing the User Share handling level?

this might be my only option at this point, another option is to wipe nzbget and qbit, remove the download share as well and start fresh, something is stuck.

  • Author
1 minute ago, hawihoney said:

These are my settings for NZBGet. Perhaps this helps. Docker:

 

Unbenannt.thumb.jpg.5d96e11e580d78419514b56080e09298.jpg

 

 

image.thumb.png.79e7d5a3af07508d6149a99dede87ab1.png

 

looks like you are forcing it to go to disk22 where I have it as /mnt/user/downloads which is picking the wrong disk at the end.

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.