Turns on and off file system quotas.
quotaon [ -g ] [ -u ] [ -v ] { -a | FileSystem ... }
quotaoff [ -g ] [ -u ] [ -v ] { -a | FileSystem ... }
The quotaon command enables disk quotas for one or more file systems specified by the FileSystem parameter. The specified file system must be defined with quotas in the /etc/filesystems file, and must be mounted. The quotaon command looks for the quota.user and quota.group default quota files in the root directory of the associated file system. These file names may be changed in the /etc/filesystems file.
By default, both user and group quotas are enabled. The -u flag enables only user quotas; the -g flag enables only group quotas. Specifying both -g and -u flags is equivalent to the default option. The -a flag specifies that all file systems with disk quotas, as indicated by the /etc/filesystems file, are enabled.
The quotaoff command disables disk quotas for one or more file systems. By default, both user and group quotas are disabled. The -a, -g, and -u flags operate as with the quotaon command.
The -v flag prints a message for each file system in which quotas are turned on or off with the quotaon and quotaoff commands, respectively.
Access Control: Only the root user can execute this command.
quotaon -u /usr
quotaoff -v -a
quota.user | Specifies user quotas. |
quota.group | Specifies group quotas. |
/etc/filesystems | Contains file system names and locations. |
The quota command displays disk usage and quotas. The edquota command creates and edits quotas. The repquota command summarizes quotas for a file system. The quotacheck command checks file system quota consistency.
The Disk Quota System Overview in AIX Version 4.3 System Management Guide: Operating System and Devices introduces the disk quota system.
How to Set Up the Disk Quota System in AIX Version 4.3 System Management Guide: Operating System and Devices describes how to establish disk quotas.