Qgroups
Qgroups, short for quota groups, are a ZFS feature designed to provide fine-grained storage accounting and enforcement of quotas and reservations across multiple datasets. A qgroup is a logical entity that tracks space usage for a set of ZFS datasets and can enforce limits on that usage. Qgroups are organized in a hierarchical tree that reflects the dataset namespace, with quotas and reservations applied at the qgroup level to govern the total space that its member datasets may consume.
The core idea is to enable resource isolation and fair sharing in environments that host multiple datasets,
Snapshots and clones are included in qgroup accounting, so space occupied by historical data is considered
Administrators manage qgroups through ZFS management tools, creating qgroups, assigning datasets to them, and configuring quotas
Use cases include multi-tenant storage services, virtual machine or container environments, and cloud storage platforms where