[16] | 1 | .TH mmquotaon 03/02/06 |
---|
| 2 | mmquotaon Command |
---|
| 3 | .SH "Name" |
---|
| 4 | .PP |
---|
| 5 | \fBmmquotaon\fR - Activates quota limit checking. |
---|
| 6 | .SH "Synopsis" |
---|
| 7 | .PP |
---|
| 8 | \fBmmquotaon\fR [\fB-u\fR] [\fB-g\fR] |
---|
| 9 | [\fB-j\fR] [\fB-v\fR] {\fIDevice\fR |
---|
| 10 | [\fIDevice\fR...] | \fB-a\fR} |
---|
| 11 | .SH "Description" |
---|
| 12 | .PP |
---|
| 13 | The \fBmmquotaon\fR command enables quota limit checking by GPFS. |
---|
| 14 | .PP |
---|
| 15 | If neither the \fB-u\fR, \fB-j\fR nor \fB-g\fR option is specified, |
---|
| 16 | the \fBmmquotaon\fR command activates quota limit checking for users, |
---|
| 17 | groups, and filesets. |
---|
| 18 | .PP |
---|
| 19 | If the \fB-a\fR option is not used, \fIDevice\fR must be the last |
---|
| 20 | parameter specified. |
---|
| 21 | .PP |
---|
| 22 | After quota limit checking has been activated by issuing the |
---|
| 23 | \fBmmquotaon\fR command, issue the \fBmmcheckquota\fR command to count inode and space |
---|
| 24 | usage. |
---|
| 25 | .SH "Parameters" |
---|
| 26 | .PP |
---|
| 27 | .RS +3 |
---|
| 28 | \fB\fIDevice\fR[ \fIDevice\fR ... ] |
---|
| 29 | \fR |
---|
| 30 | .RE |
---|
| 31 | .RS +9 |
---|
| 32 | The device name of the file system to have quota limit checking |
---|
| 33 | activated. |
---|
| 34 | .PP |
---|
| 35 | If more than one file system is listed, the names must be delimited by a |
---|
| 36 | space. File system names need not be fully-qualified. |
---|
| 37 | \fBfs0\fR is just as acceptable as \fB/dev/fs0\fR. |
---|
| 38 | .RE |
---|
| 39 | .SH "Options" |
---|
| 40 | .PP |
---|
| 41 | .RS +3 |
---|
| 42 | \fB-a |
---|
| 43 | \fR |
---|
| 44 | .RE |
---|
| 45 | .RS +9 |
---|
| 46 | Activates quota limit checking for all of the GPFS file systems in the |
---|
| 47 | cluster. When used in combination with the \fB-g\fR option, only |
---|
| 48 | group quota limit checking is activated. When used in combination with |
---|
| 49 | the \fB-u\fR option, only user quota limit checking is activated. |
---|
| 50 | When used in combination with the \fB-j\fR option, only fileset quota limit |
---|
| 51 | checking is activated. |
---|
| 52 | .RE |
---|
| 53 | .PP |
---|
| 54 | .RS +3 |
---|
| 55 | \fB-g |
---|
| 56 | \fR |
---|
| 57 | .RE |
---|
| 58 | .RS +9 |
---|
| 59 | Specifies that only group quota limit checking is to be activated. |
---|
| 60 | .RE |
---|
| 61 | .PP |
---|
| 62 | .RS +3 |
---|
| 63 | \fB-j |
---|
| 64 | \fR |
---|
| 65 | .RE |
---|
| 66 | .RS +9 |
---|
| 67 | Specifies that only fileset quota checking is to be activated. |
---|
| 68 | .RE |
---|
| 69 | .PP |
---|
| 70 | .RS +3 |
---|
| 71 | \fB-u |
---|
| 72 | \fR |
---|
| 73 | .RE |
---|
| 74 | .RS +9 |
---|
| 75 | Specifies that only user quota limit checking is to be activated. |
---|
| 76 | .RE |
---|
| 77 | .PP |
---|
| 78 | .RS +3 |
---|
| 79 | \fB-v |
---|
| 80 | \fR |
---|
| 81 | .RE |
---|
| 82 | .RS +9 |
---|
| 83 | Prints a message for each file system in which quota limit checking is |
---|
| 84 | activated. |
---|
| 85 | .RE |
---|
| 86 | .SH "Exit status" |
---|
| 87 | .PP |
---|
| 88 | .PP |
---|
| 89 | .RS +3 |
---|
| 90 | \fB0 |
---|
| 91 | \fR |
---|
| 92 | .RE |
---|
| 93 | .RS +9 |
---|
| 94 | Successful completion. |
---|
| 95 | .RE |
---|
| 96 | .PP |
---|
| 97 | .RS +3 |
---|
| 98 | \fBnonzero |
---|
| 99 | \fR |
---|
| 100 | .RE |
---|
| 101 | .RS +9 |
---|
| 102 | A failure has occurred. |
---|
| 103 | .RE |
---|
| 104 | .SH "Security" |
---|
| 105 | .PP |
---|
| 106 | You must have root authority to run the \fBmmquotaon\fR command. |
---|
| 107 | .PP |
---|
| 108 | GPFS must be running on the node from which the \fBmmquotaon\fR command |
---|
| 109 | is issued. |
---|
| 110 | .SH "Examples" |
---|
| 111 | .RS +3 |
---|
| 112 | .HP 3 |
---|
| 113 | 1. To activate user quotas on file system \fBfs0\fR, issue this |
---|
| 114 | command: |
---|
| 115 | .sp |
---|
| 116 | .nf |
---|
| 117 | mmquotaon -u fs0 |
---|
| 118 | .fi |
---|
| 119 | .sp |
---|
| 120 | To confirm the change, issue this command: |
---|
| 121 | .sp |
---|
| 122 | .nf |
---|
| 123 | mmlsfs fs0 -Q |
---|
| 124 | .fi |
---|
| 125 | .sp |
---|
| 126 | The system displays information similar to: |
---|
| 127 | .sp |
---|
| 128 | .nf |
---|
| 129 | flag value description |
---|
| 130 | ---- -------------- ---------------- |
---|
| 131 | -Q user Quotas enforced |
---|
| 132 | .fi |
---|
| 133 | .sp |
---|
| 134 | .HP 3 |
---|
| 135 | 2. To activate group quota limit checking on all file systems, issue this |
---|
| 136 | command: |
---|
| 137 | .sp |
---|
| 138 | .nf |
---|
| 139 | mmquotaon -g -a |
---|
| 140 | .fi |
---|
| 141 | .sp |
---|
| 142 | To confirm the change, individually for each file system, issue this |
---|
| 143 | command: |
---|
| 144 | .sp |
---|
| 145 | .nf |
---|
| 146 | mmlsfs fs1 -Q |
---|
| 147 | .fi |
---|
| 148 | .sp |
---|
| 149 | The system displays information similar to: |
---|
| 150 | .sp |
---|
| 151 | .nf |
---|
| 152 | flag value description |
---|
| 153 | ---- -------------- ---------------- |
---|
| 154 | -Q group Quotas enforced |
---|
| 155 | .fi |
---|
| 156 | .sp |
---|
| 157 | .HP 3 |
---|
| 158 | 3. To activate user, group, and fileset quota limit checking on file system |
---|
| 159 | \fBfs2\fR, issue this command: |
---|
| 160 | .sp |
---|
| 161 | .nf |
---|
| 162 | mmquotaon fs2 |
---|
| 163 | .fi |
---|
| 164 | .sp |
---|
| 165 | To confirm the change, issue this command: |
---|
| 166 | .sp |
---|
| 167 | .nf |
---|
| 168 | mmlsfs fs2 -Q |
---|
| 169 | .fi |
---|
| 170 | .sp |
---|
| 171 | The system displays information similar to: |
---|
| 172 | .sp |
---|
| 173 | .nf |
---|
| 174 | flag value description |
---|
| 175 | ---- -------------- --------------- |
---|
| 176 | -Q user;group;fileset Quotas enforced |
---|
| 177 | .fi |
---|
| 178 | .sp |
---|
| 179 | .RE |
---|
| 180 | .SH "See also" |
---|
| 181 | .PP |
---|
| 182 | mmcheckquota Command |
---|
| 183 | .PP |
---|
| 184 | mmdefedquota Command |
---|
| 185 | .PP |
---|
| 186 | mmdefquotaoff Command |
---|
| 187 | .PP |
---|
| 188 | mmdefquotaon Command |
---|
| 189 | .PP |
---|
| 190 | mmedquota Command |
---|
| 191 | .PP |
---|
| 192 | mmlsquota Command |
---|
| 193 | .PP |
---|
| 194 | mmquotaoff Command |
---|
| 195 | .PP |
---|
| 196 | mmrepquota Command |
---|
| 197 | .SH "Location" |
---|
| 198 | .PP |
---|
| 199 | \fB/usr/lpp/mmfs/bin\fR |
---|
| 200 | .PP |
---|