Name

quotaon

Synopsis

quotaon [options] [filesystems]

System administration command. Turn on enforcement of filesystem quotas. To work, the filesystems must have a gpquota, quota, or usrquota option listed in the /etc/fstab file. On most filesystems, user and group quota files must also exist. XFS filesystems store quota information as metadata instead of as files. Use edquota or setquota to create the appropriate quota information.

Options

-a, --all

Turn on quotas for all autoloading filesystems in /etc/fstab that support them.

-f, --off

Invoke quotaoff instead of quotaon.

-F format, --format=format

Check quota files for the specified format. (See quota for valid formats.)

-g, --group

Turn group quotas on.

-p, --print-state

Print current quota status, then exit.

-u, --user

Turn user quotas on.

-v, --verbose

Print a message for each filesystem affected by the command.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.