-
-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Labels
Description
I am using the Homepage dashboard, which utilizes the SystemInformation library to retrieve storage information.
I have configured a storage widget to monitor a specific ZFS dataset:
- resources:
label: Storage
expanded: true
disk: /mnt/storage
This dataset has several child datasets where the primary data is stored. Currently, the dashboard incorrectly reports the free space, showing the storage as almost entirely empty:
{
"fs": "zstore",
"type": "zfs",
"size": 44307352634368,
"used": 196608,
"available": 44307352437760,
"use": 0,
"mount": "/mnt/storage",
"rw": true
}
It appears that when reporting space for a ZFS dataset, the library does not account for the data stored within its child datasets, leading to inaccurate "used" space readings.
Expected behavior
# zfs list zstore
NAME USED AVAIL REFER MOUNTPOINT
zstore 24.7T 40.3T 192K /mnt/storage
Environment:
- Homepage v1.8.0 (have no idea which version of SystemInformation is bundled with that Homepage release)
- OS: FreeBSD 14.3, ZFS
Originally reported in gethomepage/homepage#6127
Reactions are currently unavailable
