.TH mmquotaon 03/02/06 mmquotaon Command .SH "Name" .PP \fBmmquotaon\fR - Activates quota limit checking. .SH "Synopsis" .PP \fBmmquotaon\fR [\fB-u\fR] [\fB-g\fR] [\fB-j\fR] [\fB-v\fR] {\fIDevice\fR [\fIDevice\fR...] | \fB-a\fR} .SH "Description" .PP The \fBmmquotaon\fR command enables quota limit checking by GPFS. .PP If neither the \fB-u\fR, \fB-j\fR nor \fB-g\fR option is specified, the \fBmmquotaon\fR command activates quota limit checking for users, groups, and filesets. .PP If the \fB-a\fR option is not used, \fIDevice\fR must be the last parameter specified. .PP After quota limit checking has been activated by issuing the \fBmmquotaon\fR command, issue the \fBmmcheckquota\fR command to count inode and space usage. .SH "Parameters" .PP .RS +3 \fB\fIDevice\fR[ \fIDevice\fR ... ] \fR .RE .RS +9 The device name of the file system to have quota limit checking activated. .PP If more than one file system is listed, the names must be delimited by a space. File system names need not be fully-qualified. \fBfs0\fR is just as acceptable as \fB/dev/fs0\fR. .RE .SH "Options" .PP .RS +3 \fB-a \fR .RE .RS +9 Activates quota limit checking for all of the GPFS file systems in the cluster. When used in combination with the \fB-g\fR option, only group quota limit checking is activated. When used in combination with the \fB-u\fR option, only user quota limit checking is activated. When used in combination with the \fB-j\fR option, only fileset quota limit checking is activated. .RE .PP .RS +3 \fB-g \fR .RE .RS +9 Specifies that only group quota limit checking is to be activated. .RE .PP .RS +3 \fB-j \fR .RE .RS +9 Specifies that only fileset quota checking is to be activated. .RE .PP .RS +3 \fB-u \fR .RE .RS +9 Specifies that only user quota limit checking is to be activated. .RE .PP .RS +3 \fB-v \fR .RE .RS +9 Prints a message for each file system in which quota limit checking is activated. .RE .SH "Exit status" .PP .PP .RS +3 \fB0 \fR .RE .RS +9 Successful completion. .RE .PP .RS +3 \fBnonzero \fR .RE .RS +9 A failure has occurred. .RE .SH "Security" .PP You must have root authority to run the \fBmmquotaon\fR command. .PP GPFS must be running on the node from which the \fBmmquotaon\fR command is issued. .SH "Examples" .RS +3 .HP 3 1. To activate user quotas on file system \fBfs0\fR, issue this command: .sp .nf mmquotaon -u fs0 .fi .sp To confirm the change, issue this command: .sp .nf mmlsfs fs0 -Q .fi .sp The system displays information similar to: .sp .nf flag value description ---- -------------- ---------------- -Q user Quotas enforced .fi .sp .HP 3 2. To activate group quota limit checking on all file systems, issue this command: .sp .nf mmquotaon -g -a .fi .sp To confirm the change, individually for each file system, issue this command: .sp .nf mmlsfs fs1 -Q .fi .sp The system displays information similar to: .sp .nf flag value description ---- -------------- ---------------- -Q group Quotas enforced .fi .sp .HP 3 3. To activate user, group, and fileset quota limit checking on file system \fBfs2\fR, issue this command: .sp .nf mmquotaon fs2 .fi .sp To confirm the change, issue this command: .sp .nf mmlsfs fs2 -Q .fi .sp The system displays information similar to: .sp .nf flag value description ---- -------------- --------------- -Q user;group;fileset Quotas enforced .fi .sp .RE .SH "See also" .PP mmcheckquota Command .PP mmdefedquota Command .PP mmdefquotaoff Command .PP mmdefquotaon Command .PP mmedquota Command .PP mmlsquota Command .PP mmquotaoff Command .PP mmrepquota Command .SH "Location" .PP \fB/usr/lpp/mmfs/bin\fR .PP