.TH mmdefquotaon 02/16/06 mmdefquotaon Command .SH "Name" .PP \fBmmdefquotaon\fR - Activates default quota limit usage for a file system. .SH "Synopsis" .PP \fBmmdefquotaon\fR [\fB-u\fR] [\fB-g\fR] [\fB-j\fR] [\fB-v\fR] [\fB-d\fR] {\fIDevice\fR [\fIDevice\fR... ] | \fB-a\fR} .SH "Description" .PP The \fBmmdefquotaon\fR command activates default quota limits for a file system. If default quota limits are not applied, new users, groups, or filesets for that file system will have a quota limit of 0, indicating no limit. .PP To use default quotas, the file system must have been created or changed with the \fB-Q yes\fR option. See the \fBmmcrfs\fR and \fBmmchfs\fR commands. .PP If neither the \fB-u\fR, \fB-j\fR or the \fB-g\fR option is specified, the \fBmmdefquotaon\fR command activates all default quota limits. .PP If the \fB-a\fR option is not used, \fIDevice\fR must be the last parameter specified. .PP Default quotas are established for new users, groups of users or filesets by issuing the \fBmmdefedquota\fR command. Under the \fB-d\fR option, all users without an explicitly set quota limit will have a default quota limit assigned. .SH "Parameters" .PP .RS +3 \fB\fIDevice\fR \fR .RE .RS +9 The device name of the file system to have default quota values 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 default quotas for all GPFS file systems in the cluster. When used in combination with the \fB-g \fR option, only group quotas are activated. When used in combination with the \fB-u\fR option, only user quotas are activated. When used in combination with the \fB-j\fR option, only fileset quotas are activated. .RE .PP .RS +3 \fB-d \fR .RE .RS +9 Specifies that existing users, groups of users, or filesets with no established quota limits will have default quota values assigned when the \fBmmdefedquota\fR command is issued. .PP If this option is not chosen, existing quota entries remain in effect and are not governed by the default quota rules. .RE .PP .RS +3 \fB-g \fR .RE .RS +9 Specifies that only a default quota value for group quotas are to be activated. .RE .PP .RS +3 \fB-j \fR .RE .RS +9 Specifies that default quotas for filesets are to be activated. .RE .PP .RS +3 \fB-u \fR .RE .RS +9 Specifies that only a default quota value for users are to be activated. .RE .PP .RS +3 \fB-v \fR .RE .RS +9 Prints a message for each file system in which default quotas are 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 \fBmmdefquotaon\fR command. .PP GPFS must be running on the node from which the \fBmmdefquotaon\fR command is issued. .SH "Examples" .RS +3 .HP 3 1. To activate default user quotas on file system \fBfs0\fR, issue this command: .sp .nf mmdefquotaon -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 user Default quotas enabled\ .fi .sp .HP 3 2. To activate default group quotas on all file systems in the cluster, issue this command: .sp .nf mmdefquotaon -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 group Default quotas enabled .fi .sp .HP 3 3. To activate user, group and fileset default quotas on file system \fBfs2\fR, issue this command: .sp .nf mmdefquotaon 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 user;group;fileset Default quotas enabled\ .fi .sp .RE .SH "See also" .PP mmcheckquota Command .PP mmchfs Command .PP mmcrfs Command .PP mmdefedquota Command .PP mmdefquotaoff Command .PP mmedquota Command .PP mmlsquota Command .PP mmquotaoff Command .PP mmrepquota Command .SH "Location" .PP \fB/usr/lpp/mmfs/bin\fR .PP