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 drive getting full but can't find the data

Featured Replies

Hello Community

 

I logged into my Unraid this morning and found that my cache drive is 71% full. When I tried to find out what data is on the disk, I only found 174GB. However, the SSD is 1TB large and there are 706GB occupied displayed.

CacheDrive.thumb.png.b8dd88169afc938b1f0d51bbba21bfef.png

 

CacheDrive_OccupiedSpace.thumb.png.03781013a7474eb76e097c4de381afb9.png

 

Does anyone have a tip or an idea what could be going on?

 

Thanks already for your help!

Marzel

heimdall-diagnostics-20220921-0814.zip

  • Author
14 minutes ago, JorgeB said:

If you have a Windows VM make sure the vdisk is being trimmed:

https://forums.unraid.net/topic/51703-vm-faq/?do=findComment&comment=557606

 

 

Thank you for your answer. If i get that right, it appliers only for Window VMs right? I just have one Ubuntu VM with a 50GB vdisk, so shouldn't be the problem right?

  • Community Expert

It could if it's not being trimmed, but not sure how to do that for Ubuntu VM, you could move the vdisk to the array temporarily to see if that is the problem., if it isn't start moving the other stuff, something is using that space, could be due to fragmented extents.

  • Author

I already started moving the VM to the array, let's see if that makes a differentes.

 

Again Thanks for you help!

Edited by Marzel

  • Author

Even after I emptied the cache drive, 1.7GB are supposedly still occupied. Most of the "700GB" was the appdata folder, which is still 11.5GB in the array.

 

image.thumb.png.855aa7a864cd7bca2a66e6e3cccbf2df.png

 

I honestly don't understand what is going on here.

7 minutes ago, Marzel said:

Even after I emptied the cache drive, 1.7GB are supposedly still occupied.

File system overhead.

 

  • Author

That explains it, after a reboot it's now just 3.82MB. I will now move the files and folder back to cache and hope that the disk show the used space correctly.

  • Community Expert

Copy the vdisk with

cp --sparse=always /source /dest

This will make it as small as possible, though it will grow with time if it's not trimmed.

  • Community Expert

Why do you have 100G docker.img? That is several times too large. 20G is often more than enough. Have you had problems filling it?

  • Author

After copying everything back it's now showing 141GB used. So your cp command @JorgeB did shrink the vdisk also, thank you for that.

 

1 hour ago, trurl said:

Why do you have 100G docker.img? That is several times too large. 20G is often more than enough. Have you had problems filling it?

Yes I have reached the 20GB limit. Because of that i extended the docker.img and i have the disk space(1TB) so i thought, i will go with 100GB. But now it only uses 23GB of the 100GB.

  • Community Expert

Docker image can also grow with time, use only what you really need.

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.