Software >> OS >> Unix >> Solaris >> ZFS >> What are the different quotas and reservations that can be set on a ZFS dataset

quota

e.g.
# zfs set quota=10g pool/dataset
# zfs get quota pool/dataset

refquota

e.g.
# zfs set refquota=10g pool/dataset
# zfs get refquota pool/dataset

userquota

e.g.
# zfs set userquota@username=10g pool/dataset
# zfs get userquota@username pool/dataset
# zfs userspace pool/dataset (lists usage by users)

groupquota

e.g.
# zfs set groupquota@groupname=10g pool/dataset
# zfs get groupquota@groupname pool/dataset
# zfs groupspace pool/dataset