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.

How to figure out what is eating my cache

Featured Replies

I am having trouble finding what is taking up almost 20GB on my SD cache drives. Does anyone have an idea why there is a difference here?

 

 

 

 root@unRAID:/mnt/cache# du -sh .67G     .

 

872343bd7f295dffb8ac2c2cecc35889.jpg

 

Thanks!

 

Sent from my ONEPLUS A3000 using Tapatalk

 

 

 

 

 

 

  • Author

That is in
/mnt/user/system/docker/docker.img the system share is set to "no" for cache. That's not it then right?

Sent for my OnePlus 3T

I think "No" means no new files can be created there, but I guess it's possible that if the docker.img is already there it may not have been moved.

 

ls -la /mnt/cache/system/docker/ 

 

would tell you though

  • Community Expert
2 minutes ago, Kash76 said:

That is in
/mnt/user/system/docker/docker.img the system share is set to "no" for cache. That's not it then right?

Sent for my OnePlus 3T
 

Why on earth would you have your system share set to cache-no?

 

In any case, that setting only controls where things get written. It doesn't necessarily mean something for the share wasn't written there before it was set to cache-no.

My guess is he wanted to preserve space on the cache disk array, but yeah I agree, wouldn't be how I'd play things either.

  • Author

Nope...

root@unRAID:/mnt/cache/domains# ls -la /mnt/cache/system/docker/ 
/bin/ls: cannot access '/mnt/cache/system/docker/ ': No such file or directory

Sent for my OnePlus 3T

  • Author

May have been a setting that I set early on as I was getting familiar. I'd like to find out what is taking the extra space and then I can move the docker image back in.

Sent for my OnePlus 3T

  • Community Expert
1 minute ago, Kash76 said:

May have been a setting that I set early on as I was getting familiar. I'd like to find out what is taking the extra space and then I can move the docker image back in.

Sent for my OnePlus 3T
 

ls -la /mnt/cache

Then repeat for any subfolders of /mnt/cache, like

ls -la /mnt/cache/system

etc.

  • Author

I used "du -sh ." and get 67G when in /mnt/cache that alone should verify that it's not the 84.5GB that the gui is claiming right?

Sent for my OnePlus 3T

  • Community Expert

What filesystem is your cache disk?

  • Author
It'll be btrfs as there's two cache disks....


Correct

Sent for my OnePlus 3T

Try 

du -s --si .

from the same place instead. Does that give a "better" result? It's the old 1024 vs 1000 argument again.

  • Author

81GB with your command and 75 GB with "du - sh" now with the Docker image moved back in.

 

The gui still says 92.9GB which is much more.

 

Sent for my OnePlus 3T

 

 

 

 

  • Author

Did everyone's match between gui and these commands?

Sent for my OnePlus 3T

  • Community Expert

du may not always work reliably with btrfs, use btrfs filesystem df, or btrfs fi df for short:

 

 btrfs fi df /mnt/cache

Values will be in GiB, for GB like displayed by the GUI use:

 

 btrfs fi df --si /mnt/cache

 

  • Author

Thanks, that is showing what I have. 

Archived

This topic is now archived and is closed to further replies.

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.