mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-15 08:33:03 +00:00
49272bd48c
For RAIDZ/mirror pools, zpool list SIZE reports raw capacity (sum of all disks), but users expect usable capacity (accounting for parity). The dataset stats from statfs give the correct usable capacity. Now uses dataset Total when it's smaller than zpool Size, indicating RAIDZ/mirror overhead. Related to #1052