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, edquota command, repquota command, quotacheck command.
The Disk Quota System Overview in AIX 5L Version 5.2 Security Guide introduces the disk quota system.
Setting Up the Disk Quota System in AIX 5L Version 5.2 Security Guide.