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.

Cache reports 300 from 500GB used but Krusader shows 181GB used (inc. hidden)!... Help?

Featured Replies

Well, the title says it all.
unRAID (refreshed) page reports 60% use, 300 of 500GB for my cache.

In Krusader, checking the size of all folders (with "show hidden" enabled) shows 181GB in use.

Where are 119GB of storage???

 

  • Author

Here you are.
I read two similar threads btw...
One "excused" this behavior that the FS supposedly uses more than reported by unRAID (and there is a command to find the actual FS overhead - which if you ask me, unRAID should include in the free space report).
The other was fixed (?) by rebooting in maintenance mode (not an easy task on a production server).
 

quasar-ultima-diagnostics-20210915-1007.zip

  • Community Expert

GUI is showing the correct used space, note that not all tools display correct usage for a btrfs filesystem, e.g. du, you can always confirm with:

 

btrfs fi usage -T /mnt/cache


 

Pool: cache
Overall:
    Device size:         465.76GiB
    Device allocated:         307.02GiB
    Device unallocated:         158.74GiB
    Device missing:             0.00B
    Used:             279.46GiB
    Free (estimated):         185.37GiB    (min: 185.37GiB)
    Free (statfs, df):         185.37GiB
    Data ratio:                  1.00
    Metadata ratio:              1.00
    Global reserve:         447.55MiB    (used: 0.00B)
    Multiple profiles:                no

             Data      Metadata System              
Id Path      single    single   single   Unallocated
-- --------- --------- -------- -------- -----------
 1 /dev/sdd1 305.01GiB  2.01GiB  4.00MiB   158.74GiB
-- --------- --------- -------- -------- -----------
   Total     305.01GiB  2.01GiB  4.00MiB   158.74GiB
   Used      278.38GiB  1.08GiB 64.00KiB 

 

Used:             279.46GiB = 300GB

 

  • Author
    Device size:                 465.76GiB
    Device allocated:            307.02GiB
    Device unallocated:          158.74GiB
    Device missing:                  0.00B
    Used:                        279.46GiB
    Free (estimated):            185.37GiB      (min: 185.37GiB)
    Free (statfs, df):           185.37GiB
    Data ratio:                       1.00
    Metadata ratio:                   1.00
    Global reserve:              447.55MiB      (used: 0.00B)
    Multiple profiles:                  no

             Data      Metadata System              
Id Path      single    single   single   Unallocated
-- --------- --------- -------- -------- -----------
 1 /dev/sdd1 305.01GiB  2.01GiB  4.00MiB   158.74GiB
-- --------- --------- -------- -------- -----------
   Total     305.01GiB  2.01GiB  4.00MiB   158.74GiB
   Used      278.38GiB  1.08GiB 64.00KiB            

 

So, what is the 120GB diff that Krusader does not show me (even showing hidden files).
It is not a couple of GB.
I also did this:

du -h --max-depth 1 /mnt/cache
151G    /mnt/cache/system
3.9G    /mnt/cache/appdata
141G    /mnt/cache/domains
45M     /mnt/cache/generic_caching
188M    /mnt/cache/seafile
296G    /mnt/cache

 

Well the big difference is system.

Seems I have no access inside system/docker/docker (I use a folder not a file docker).

 

I am not sure the size is realistic for my dockers, but I also cannot verify it (seemingly) from Krusader as it doesn't have root access.

Any ideas how to?

 

EDIT: I tracked it down to /mnt/cache/system/docker/docker/btrfs/subvolumes
In there is a huge number of (virtual) volumes, not sure if they are cleaned up properly.

Some (plenty) of them seem to be same size, which doesn't look too random to me.
I wonder if some dockers could/should share subvolumes.

 

Edited by NLS

  • Author

BTW... for some reason it got back to 180GB free after a few hours.

Something that had to do with sparse virtual volumes I believe?

 

(yes cache was empty already when I opened this thread - nothing for mover)

 

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.