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.

ZFS Usage Inconsistency

Featured Replies

Unraid GUI says I am using 46.1 TB of my ZFS pool and that I only have 17.7 TB free, so I went to take a look at what I can get rid of to free up some space. But when I use QDirStat to try to find what is taking up so much space, it says I am only using 23.1 TB? What gives? Any ideas what I can do to see what is using up all this space and/or why QDirStat is reporting a lower amount of usage?

Screenshot 2023-08-13 122320.png

Screenshot 2023-08-13 122349.png

Solved by syphant

For one thing, QDirStat explicitly tells you ">23.1 TB", i.e. MORE THAN 23.1 TB because it could not read all directories below /data/appdata, probably because of insufficient permissions. The part of the screenshot that was cut off (below the tree) also notified you of that.

 

But even then there will probably be a mismatch because of ZFS snapshots which, like Btrfs snapshots, also are not reported by ZFS to the relevant system calls like stat(). You will need dedicated ZFS tools to give you that information.

 

HTH

HuHa

QDirStat author

  • Author
9 minutes ago, HuHa said:

For one thing, QDirStat explicitly tells you ">23.1 TB", i.e. MORE THAN 23.1 TB because it could not read all directories below /data/appdata, probably because of insufficient permissions. The part of the screenshot that was cut off (below the tree) also notified you of that.

 

But even then there will probably be a mismatch because of ZFS snapshots which, like Btrfs snapshots, also are not reported by ZFS to the relevant system calls like stat(). You will need dedicated ZFS tools to give you that information.

 

HTH

HuHa

QDirStat author

 

The appdata directory is located on my cache drive and not on my ZFS array so that is not related. Sorry I neglected to state that in my original post!
However, I did try rebooting the server and now the Unraid GUI is showing I only 25.4 TB usage of my ZFS pool whereas it was showing 46.1 TB before the reboot, which is very interesting, but still not the same as what QDirStat and NCDU are both reporting (23.1 TB)

  • Community Expert
5 minutes ago, syphant said:

but still not the same as what QDirStat and NCDU are both reporting (23.1 TB)

TB vs TiB again.

 

 

  • Author
  • Solution
7 minutes ago, Kilrah said:

TB vs TiB again.

 

 


Ahh you're correct, so a reboot did fix the issue. Thanks!

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.