mmdefquotaon - Activates default quota limit usage for a file system.
Synopsis
mmdefquotaon [-u | -g] [-v] [-d] {Device[ Device ... ] | -a}
Description
The mmdefquotaon command activates default quota limits for a file system. If default quota limits are not applied, a new user or group to that file system will have a quota limit of 0, indicating no limit.
If neither the -u or the -g option is specified, mmdefquotaon activates both user and group default quota limits.
If the -a option is not used, Device must be the last parameter specified.
Parameters
If more than one file system is listed, the names should be delimited by a space. File system names need not be fully qualified. fs0 is just as acceptable as /dev/fs0.
Options
If this option is not chosen, existing quota entries will remain in effect and are not governed by the default quota rules.
Exit status
Security
You must have root authority to run the mmdefquotaon command.
GPFS must be running on the node from which the mmdefquotaon command is issued.
In an SP environment, verify the authentication method set for SP security services:
For further information, see the latest IBM Parallel System Support Programs for AIX: Administration Guide, IBM Parallel System Support Programs for AIX: Command and Technical Reference, and RS/6000: Planning Volume 2, Control Workstation and Software Environment manuals at www.rs6000.ibm.com/resource/aix_resource/sp_books/pssp. Search for information on sysctl.
Examples
mmdefquotaon -u fs0To confirm the change, enter:
mmlsfs fs0 -QThe system displays information similar to:
flag value description
---- -------------- -----------------------------------------------------
-Q user Quotas enforced
user Default quotas enabled
mmdefquotaon -g -aTo confirm the change, individually for each file system, enter:
mmlsfs fs1 -QThe system displays information similar to:
flag value description
---- -------------- -----------------------------------------------------
-Q group Quotas enforced
group Default quotas enabled
mmdefquotaon fs2To confirm the change, enter:
mmlsfs fs2 -QThe system displays information similar to:
flag value description
---- -------------- -----------------------------------------------------
-Q user;group Quotas enforced
user;group Default quotas enabled
See also
Location
/usr/lpp/mmfs/bin