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