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.

unRAID vs krusader cache size discrepancy

Featured Replies

Hey guys,

Recently my cache pool filled up and I had to manually move everything over to the array(mover was not moving for some reason). Once I was done, I saw unRAID was showing I still had around 600gb used. I checked all the folders on the cache and could only see about 150gb worth of files. What's going on here? I've attached diagnostics, plus screenshots of my pool and what krusader shows.

Thanks!

Screenshot_20211221-223322_Chrome.jpg

Screenshot_20211221-223418_Chrome.jpg

swagserver-diagnostics-20211221-2239.zip

  • Community Expert

Poole has multiple data profiles, you should start by fixing that by balancing to the intended one.

Hi, I don't want to hijack this thread, but my problem seems exactly the same - what to you mean by "balancing to the intended one"?

 

In my case - only 1 share in a pool, says ~6GB free, and only 71GB of data:

I cant find any data on this pool - some ~40GBs are missing.

image.thumb.png.a19f3061ba0b697450a230aedcd6c8ce.png

image.thumb.png.e39af9063dc51bd1211319521847b40b.png
 

Krusader:localserver-diagnostics-20211222-1725.zip
image.png.083fc4532b52b371cfd238c5b3a1b118.png

 

Thanks a lot!

  • Community Expert
22 minutes ago, localh0rst said:

but my problem seems exactly the same

Do you mean you also also multiple data profiles?

26 minutes ago, JorgeB said:

Do you mean you also also multiple data profiles?

 

At least that the free / used space shown in unraid and krusader can't be correct (71GB vs 113GB) - I've searched every corner in Unraid, I can't explain why this pool should have 113GB in it - it only has 71GB in exactly 1 Folder - same situation as @Swagnoor19 I guess.

 

Edit: Maybe this helps - There must be some data on it, But I can't find it.
image.png.3a826a7b22c33a62ec77425ec75f0f40.png

 

 

Edited by localh0rst

  • Community Expert
14 minutes ago, localh0rst said:

Edit: Maybe this helps - There must be some data on it, But I can't find it.

You only have one data profile, not the same, other than that most tools like du, and possibly Krusader, though I've never used it, might not report the used/free space for btrfs correctly, in your case the GUI will show the correct used/free stats, you cal also confirm with:

 

btrfs fi usage -T /mnt/cache

 

Hi JorgeB, thanks for your reply. 

 

Overall:
    Device size:                 231.03GiB
    Device allocated:            223.58GiB
    Device unallocated:            7.45GiB
    Device missing:                  0.00B
    Used:                        209.07GiB
    Free (estimated):              9.67GiB      (min: 9.67GiB)
    Free (statfs, df):             5.94GiB
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)
    Multiple profiles:                  no

             Data      Metadata System              
Id Path      RAID1     RAID1    RAID1    Unallocated
-- --------- --------- -------- -------- -----------
 1 /dev/sde1 108.76GiB  3.00GiB 32.00MiB     1.02MiB
 2 /dev/sdd1 108.76GiB  3.00GiB 32.00MiB     7.45GiB
-- --------- --------- -------- -------- -----------
   Total     108.76GiB  3.00GiB 32.00MiB     7.45GiB
   Used      102.81GiB  1.72GiB 16.00KiB        

 

So here it's clear. What I dont understand - the only Share on it is this folder with 71GB in it:

 

image.thumb.png.e432cd74ee770e2db6d169c0a346399f.png

 

image.thumb.png.73b0ff0630374b40b40d3c5cdaab13e9.png

 

image.png.b3be823ca965f9348c2196c64bcde86d.png

 

Is there a way I can check where the "missing" 40Gib are located on this btrfs R1? Unraid says 113GB used.

  • Community Expert

They are not missing, something is using that space, you can move the folders inside somewhere else until you find out the culprit(s).

Sure, something is using it. My lack of understanding is, even if I move "everything" - in this case the folder "appdata", it is the only folder in it - can I look elsewhere? some root-folder / mount point where some data is still on the btrfs? Wanted to avoid moving all docker appdata. I appreciate your help.

 

Edit: This is the only folder in the pool with 71GB

image.png.2099987bac81d2a4be4a2f7685f21727.png


image.thumb.png.5ca6b8a60f90eb4947adbcc7cbfcd713.png

Edited by localh0rst

  • Community Expert
3 minutes ago, localh0rst said:

can I look elsewhere? some root-folder

There's nothing else, that folder is using the space reported by btrfs, if there are many small files inside for example it's normal for the GUI to report a different (lower) value.

Okay, Thanks. I try to free up the Cache one Docker image after another and try to find the image which uses more space than displayed in MC / Krusader.

Thanks for your help!

Edited by localh0rst

  • Author

Hey @JorgeB just catching up here. To follow up on your first comment, if I were to perform a full balance, would that get rid of the data that's still on the cache (I still have appdata and other stuff on there.)

Also I'm assuming that right now the cache is set up as a raid 1, hence why about 500 gb is being used up. Is that correct? If I perform the full balance it would keep it as a raid 1?

  • Community Expert
8 hours ago, Swagnoor19 said:

I'm assuming that right now the cache is set up as a raid 1, hence why about 500 gb is being used up. Is that correct?

Currently it's mostly raid1 but there's some single profile data.

 

8 hours ago, Swagnoor19 said:

If I perform the full balance it would keep it as a raid 1?

Yes, assuming that's what you want and the profile you choose for the balance.

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.