Storage profile by pool, user and category
zspace_usageReport where physical disk space actually goes on the ZSpace NAS.
Instructions
Report where physical disk space actually goes on the ZSpace NAS.
Use this FIRST for any "is my NAS full?" or "what is using my space?" question. It is the only view that includes Time Machine backups, other users' spaces, the safe box, Docker, RAID metadata and the recycle bins -- every one of those is outside //my/data and returns N001411 to file listing, so walking the file tree systematically under-reports pool usage (measured: a full 57-minute walk of 2.69M files accounted for only 4.84 TiB of a 7.97 TiB pool).
Returns per pool: total/used/free bytes, used_pct, and entries of {kind, owner, label, label_cn, bytes} sorted largest first, where label is one of my / my_tm (Time Machine) / my_recycle / my_safe / sys_docker / sys_raid / sys_vm / sys_iscsi / sys_other. Read-only.
The my_recycle entry is the recycle bin's physical footprint, so this is
the cheap way to see how much space deleted-but-not-purged data is holding
before deciding whether to list or empty it. Also note these are physical
sizes: my includes the second copy of every double-backed-up folder,
whereas a file-level walk (zspace_du) reports logical sizes. The walk
therefore comes out lower by exactly the mirrored bytes -- measured on one
pool as 4.838 TiB walked vs 6.008 TiB reported here, the 1.17 TiB gap being
the double-written folder. Neither number is wrong; they measure different
things.
If you compare these figures against a scan run on an SMB mount, expect a mismatch: the mount exposes "@Recycle" and other directories the file API cannot see, and a mount-side scan that fails to skip "@Recycle" counts recycled data as live. That inflates totals silently rather than erroring.
For the size of one specific directory use zspace_du instead; for per-disk health use zspace_disks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Ask the NAS to recompute the snapshot first (slower) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||