source: gpfs_3.1_ker2.6.20/share/man/man8/mmdefquotaon.8 @ 118

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