Turns on and off file system quotas.
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 quota type (user or group) in every file system in which quotas are turned on or off with the quotaon and quotaoff commands, respectively.
An error (EPERM) will be returned if the quota.user and quota.group files are not owned by user root and group system. Ownership changes on these files are not permitted while quotas are active.
Item | Description |
---|---|
-a | Enables or disables all file systems that are read-write and have disk quotas, as indicated by the /etc/filesystems file. When used with the -g flag, only group quotas in the /etc/filesystems file are enabled or disabled; when used with the -u flag, only user quotas in the /etc/filesystems file are enabled or disabled. |
-g | Specifies that only group quotas are enabled or disabled. |
-u | Specifies that only user quotas are enabled or disabled. |
-v | Prints a message for each file system in which quotas are turned on or off. |
Access Control: Only the root user can execute this command.
Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
quotaon -u /usr
quotaoff -v -a
Item | Description |
---|---|
quota.user | Specifies user quotas. |
quota.group | Specifies group quotas. |
/etc/filesystems | Contains file system names and locations. |