Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Quotas

Direct 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.

When to use this

Use this when limiting space per user, group or share on a NAS.

First 30 seconds

1. Quotas limit space per user, group or directory.

2. Hard vs soft limits.

3. Notify before reaching limits.

4. Dataset quotas on ZFS.

5. Review regularly.

Operational verification

writes → quota check → allow/deny

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Network file storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork file storage
Key commandGet-FsrmQuota
Scope / prerequisiteUse this when limiting space per user, group or share on a NAS.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
Get-FsrmQuota                 # Windows FSRM
xfs_quota -x -c 'report -h' /export
repquota -a
Step 2 Common mistakes Narrow the fault
  • Hard quotas without warnings.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Hard quotas block writes; soft quotas warn.
  • Snapshots may count toward quotas.
  • Users see quota as disk full.
Key checks
  • repquota -a — Linux quotas
  • zfs get quota,refquota <ds> — ZFS quotas
  • Get-FsrmQuota — Windows FSRM quotas
ReferenceHow it works1 section · depth on demand

How it works

Quotas cap how much space a user, group or folder (tree/dataset) can use. Hard quotas block writes at the limit; soft quotas only warn or allow a grace period. Space is usually counted after compression on ZFS-based systems, and snapshots may or may not count depending on the platform — check before setting limits.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Quotas cap how much one user, group or directory tree may use

On a shared NAS, quotas stop one user or project from filling a volume that everyone depends on.

XFS quotas

xfs_quota(8) explains that quota accounting is switched on at mount time, for example with uquota (users) or prjquota (projects). Commands that change limits need expert mode (-x). Project quotas limit a directory tree: /etc/projects maps project IDs to directories, /etc/projid maps IDs to names.

# grep /srv /etc/fstab
/dev/vg0/srv  /srv  xfs  defaults,uquota,prjquota  0 0
# xfs_quota -x -c 'limit bsoft=45g bhard=50g alice' /srv
# echo "10:/srv/projects/apollo" >> /etc/projects
# echo "apollo:10" >> /etc/projid
# xfs_quota -x -c 'project -s apollo' /srv
# xfs_quota -x -c 'limit -p bhard=2t apollo' /srv
# xfs_quota -x -c 'report -h' /srv
User quota on /srv (/dev/mapper/vg0-srv)
                        Blocks
User ID      Used   Soft   Hard Warn/Grace
---------- ---------------------------------
alice       41.2G    45G    50G  00 [------]

Soft versus hard limits

LimitBehaviour
SoftMay be exceeded during a grace period; a warning
HardWrites fail with "Disk quota exceeded"

Quota types across platforms

PlatformMechanism
ext4quota package (quotaon, setquota), or the quota feature
ZFSzfs set quota= / refquota= per dataset; userquota@alice=
WindowsFile Server Resource Manager (FSRM) quotas per folder
NAS appliancesPer share, per user or per tree in the vendor UI

Operational tips

  • Directory-tree (project) quotas match how teams think: "the project folder is full".
  • Show users their usage, so a full quota isn't reported as "the server is broken".
  • Monitor how close quotas are to their limits as well as volume capacity. Many hard limits reached at once can mean the limits are too small.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork file storage current

Authoritative/upstream documentation reviewed for bounded claims in NAS → Quotas. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.snia.org/education/what-is-network-attached-storage · confidence 94%
Confirmation

Confirm action

Continue?