source: gpfs_3.1_ker2.6.20/share/man/man8/mmquotaon.8 @ 195

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