Storage · NAS
Quotas
Cheat sheet · https://pcornel.dk/topic.php?topic=4128
Answer
NAS quotas limit how much space a user, group or share can use, either as a hard limit that blocks writes or a soft limit that warns, so one share cannot fill the whole volume.
Remember
- Hard quotas block writes; soft quotas warn.
- Snapshots may count toward quotas.
- Users see quota as disk full.
First checks
repquota -a— Linux quotaszfs get quota,refquota <ds>— ZFS quotasGet-FsrmQuota— Windows FSRM quotas
Commands
zfs set quota=
Verify in this order
writes → quota check → allow/deny
Where it usually breaks
First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4128