Hi all, TrueNAS already shows current pool usage, but without any history it’s impossible to answer questions like “how fast is this pool filling?” or to plan hardware upgrades. A rolling utilisation graph (daily/weekly/monthly) would solve that.
I tried to bridge the gap by installing the Netdata community app, because recent Netdata releases include a zfspool
collector that stores historic space stats per pool and vdev. Unfortunately the container launches without CAP_SYS_ADMIN
, so every call to /dev/zfs
fails and no data is collected. Running a custom container introduced its own set of hurdles that I wasn’t able to resolve.
Feature request
- Ship a built-in way to record and visualise historic ZFS-pool utilisation - either by
- exposing Netdata’s
zfspool
charts with the required capability, or
- adding an equivalent chart series directly in the Reporting UI.
- Include basic projections (linear fit) so admins can see estimated days until full.
This would let us:
- track real growth over weeks or months
- spot sudden spikes that current point-in-time screens can’t show
- plan disk replacements and expansions before running out of space.
Curious to hear how others handle capacity trending today, and whether the developers see a clean path to integrate this into SCALE without manual tweaks.
2 Likes
Just curious here.
Could you “convert to custom app” on your ix-netdata container and then add the CAP_SYS_ADMIN?
I did try to replicate all of the app settings for netdata into a custom app, however when trying to deploy I got an error which directed me to this line in the app_lifecycle.log:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: open /proc/self/attr/apparmor/exec: read-only file system: unknown
I can only assume this has something to do with this recommended config section from the documentation which I was unable to configure in the custom app UI:
security_opt:
- apparmor:unconfined
I’m guessing this could be done with a YAML-based deployment but was trying to stick to something simple.
I’ve downloaded and deployed TrueCommand using a simple custom app. The interface is relatively straightforward, though somewhat basic. I believe I’ve found a pane that might provide the information I’m looking for:
It doesn’t appear to show the individual pools by default, but I was able to configure a custom report that seems to capture what I need:
Once again, the interface is quite basic, and I’d much prefer if that report were available as a real-time pane. I’ll explore it a bit further to see if it can meet my needs. If not, I may revert to deploying Netdata as a YAML-based container and give that another try.
So I’ve left TrueCommand running for a bit but the graph for storage data by pool seems to have no data. Any thoughts on how to fix this?
1 Like
Ok, I restarted the container and it seems to have resolved itself?