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.

[SOLVED][6.9.1] Cache Drive Utilization Going Up But No Data Being Created?

Featured Replies

So over the last day or two my Cache drive has been seeing an increase in data being written to it. Currently the UI and Grafana both say that 230GB are being used:

unknown.pngunknown.png?width=1440&height=117

 

Yet when I go into /mnt/cache and do a du I only see 187GB being used:

unknown.png

 

Any ideas where this discrepancy is coming from and where the data actually is? I even did a scrub recently.

Edited by TheLaughingMan

  • Community Expert

If possible before rebooting and preferably with the array started
Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread.

Part of it is the differing units (GB vs GiB) between what the dashboard says (500GB drive) vs the commands (465GB drive)

 

du --si will give a larger value, and the rest is probably taken up by metadata storage 

 

 

  • Author

That puts it close to 200, so is 30GB of metadata realistic?

  • Community Expert

du isn't accurate with btrfs, what the GUI shows is the correct space used, if you have Windows vdisks there see this.

  • Author
22 hours ago, Squid said:

Part of it is the differing units (GB vs GiB) between what the dashboard says (500GB drive) vs the commands (465GB drive)

 

du --si will give a larger value, and the rest is probably taken up by metadata storage 

 

 

So using the calculate option on the share tab, I am not seeing any significant growth on any share that uses my cache yet my cache drive utilization has gone up 10GB since my initial post. Any clue what causes that?

  • Community Expert

Do you have vdisks?

  • Author

Yes but nothing in /domains is growing

  • Community Expert

It's growing but it's not being reported, like mentioned if they are Windows VMs see the link to enable trim, if other OSes see if you can do the same, for a temporarily solution you can copy the vdisks with cp --sparse=always, then delete old one(s).

  • Author

That makes sense now, apparently it was the linux VM I host servers on. Doing that cp --sparse=always 'freed' up 30 GB

  • Community Expert

Note that it will still continue to grow with use.

  • TheLaughingMan changed the title to [SOLVED][6.9.1] Cache Drive Utilization Going Up But No Data Being Created?
  • Author

Yeah but at least I know the cause and I am no longer paranoid. I can look into implementing something similar as you pointed out for windows or bake into my weekly back up to just copy it and replace old version (Aka the dumb lazy way if I can't figure out the proper way)

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.