mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-11-05 06:43:48 -05:00
Three layers of wrong in the overview numbers, now fixed: The daemon shelled out to bare zfs/zpool, which a non-login launch (TrueNAS, systemd) does not have on PATH, so the pool-root capacity correction never ran and a 68 TB pool reported 5.6 TB with 0 B used. Binaries now resolve against /sbin and /usr/sbin. Statistics also overlay live volume-manager capacity over the persisted rows, which froze at track time, and a re-sighted volume refreshes its row's capacity. The duplicated volume-capacity implementation now delegates to one static body. The Files Indexed card added source counts to library statistics that were already derived from the same source rows, roughly doubling every number. It reads the statistics alone now. Each device answers a byterange DeviceSummary with its own statistics, peers cache it on every sync, and libraries.info adds the cached summaries at read time. Every device reports the same fleet totals, computed once by the machine that owns the data.