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

Last change on this file since 195 was 16, checked in by rock, 17 years ago
File size: 6.1 KB
Line 
1.TH mmrepquota 03/02/06
2mmrepquota Command
3.SH "Name"
4.PP
5\fBmmrepquota\fR - Reports file system user, group, and fileset quotas.
6.SH "Synopsis"
7.PP
8\fBmmrepquota\fR [\fB-e\fR] [\fB-g\fR]
9[\fB-q\fR] [\fB-u\fR] [\fB-n\fR]
10[\fB-v\fR] [\fB-j\fR] {\fIDevice\fR
11[\fIDevice\fR...] | \fB-a\fR}
12.SH "Description"
13.PP
14The \fBmmrepquota\fR command reports file system usage and quota
15information for a user, group, and fileset.
16.PP
17If neither the \fB-g\fR, \fB-j\fR nor \fB-u\fR option is
18specified, then user, group and fileset quotas are listed.
19.PP
20If the \fB-a\fR option is not specified, \fIDevice\fR must be the
21last parameter entered.
22.PP
23For each file system in the cluster, the \fBmmrepquota\fR command
24displays:
25.RS +3
26.HP 3
271. Block limits:
28.RS +3
29.HP 3
30\(bu quota type (USR, GRP or FILESET)
31.HP 3
32\(bu current usage in KB
33.HP 3
34\(bu soft limit in KB
35.HP 3
36\(bu hard limit in KB
37.HP 3
38\(bu space in doubt
39.HP 3
40\(bu grace period
41.RE
42.HP 3
432. File limits:
44.RS +3
45.HP 3
46\(bu current number of files
47.HP 3
48\(bu soft limit
49.HP 3
50\(bu hard limit
51.HP 3
52\(bu files in doubt
53.HP 3
54\(bu grace period
55.RE
56.HP 3
573. Entry Type
58.sp
59.RS +3
60\fBdefault on
61\fR
62.RE
63.RS +9
64Default quotas are enabled for this file system
65.RE
66.sp
67.RS +3
68\fBdefault off
69\fR
70.RE
71.RS +9
72Default quotas are not enabled for this file system
73.RE
74.sp
75.RS +3
76\fBe
77\fR
78.RE
79.RS +9
80Explicit quotas - the quota limits have been explicitly set using
81the
82\fBmmedquota\fR command
83.RE
84.sp
85.RS +3
86\fBd
87\fR
88.RE
89.RS +9
90Default quotas - the quota limits are the default values set using
91the
92\fBmmdefedquota\fR command
93.RE
94.sp
95.RS +3
96\fBi
97\fR
98.RE
99.RS +9
100Initial quotas - default quotas were not enabled when this initial
101entry was established. Initial quota limits have a value of zero
102indicating no limit.
103.RE
104.RE
105.PP
106Because the sum of the in-doubt value and the current usage may not exceed the
107hard limit, the actual block space and number of files available to the user, 
108group, or fileset may be constrained by the \fIin-doubt\fR value. If the
109\fIin-doubt\fR value approach a significant percentage of the quota, run
110the
111\fBmmcheckquota\fR command to account for the
112lost space and files.
113.PP
114GPFS quota management takes replication into account when reporting on and
115determining if quota limits have been exceeded for both block and file
116usage. In a file system that has either type of replication set to a
117value of two, the values reported on by both the \fBmmlsquota\fR command and the \fBmmrepquota\fR
118command are double the value reported by the \fBls\fR command.
119.PP
120When issuing the \fBmmrepquota\fR command on a mounted file system,
121negative in-doubt values may be reported if the quota server processes a
122combination of up-to-date and back-level information. This is a
123transient situation and may be ignored.
124.PP
125When a quota management enabled file system is SANergy exported, the block
126usage accounting of a file accessed through SANergy include the blocks
127actually used by the file and the extra blocks temporarily allocated (hyper
128allocation) by SANergy. Hyper allocation is a SANergy performance
129feature and can be tuned using SANergy configuration tools. For more
130information, see \fITivoli SANergy: Administrator's Guide\fR at
131publib.boulder.ibm.com/tividd/td/SANergy2.2.4.html.
132.SH "Parameters"
133.PP
134.RS +3
135\fB\fIDevice\fR[ \fIDevice\fR...]
136\fR
137.RE
138.RS +9
139The device name of the file system to be listed.
140.PP
141If more than one file system is listed, the names must be delimited by a
142space. File system names need not be fully-qualified.
143\fBfs0\fR is just as acceptable as \fB/dev/fs0\fR.
144.RE
145.SH "Options"
146.PP
147.RS +3
148\fB-a
149\fR
150.RE
151.RS +9
152Lists quotas for all file systems in the cluster. A header line is
153printed automatically with this option.
154.RE
155.PP
156.RS +3
157\fB-e
158\fR
159.RE
160.RS +9
161Specifies that the \fBmmrepquota\fR command is to collect updated quota
162usage data from all nodes before displaying results. If this option is
163not specified, there is the potential to display negative usage values as the
164quota server may process a combination of up-to-date and back-level
165information.
166.RE
167.PP
168.RS +3
169\fB-g
170\fR
171.RE
172.RS +9
173List only group quotas.
174.RE
175.PP
176.RS +3
177\fB-j
178\fR
179.RE
180.RS +9
181List only fileset quotas.
182.RE
183.PP
184.RS +3
185\fB-n
186\fR
187.RE
188.RS +9
189Displays a numerical user ID.
190.RE
191.PP
192.RS +3
193\fB-q
194\fR
195.RE
196.RS +9
197Show whether quota enforcement is active.
198.RE
199.PP
200.RS +3
201\fB-u
202\fR
203.RE
204.RS +9
205List only user quotas.
206.RE
207.PP
208.RS +3
209\fB-v
210\fR
211.RE
212.RS +9
213Print a header line.
214.RE
215.SH "Exit status"
216.PP
217.PP
218.RS +3
219\fB0
220\fR
221.RE
222.RS +9
223Successful completion.
224.RE
225.PP
226.RS +3
227\fBnonzero
228\fR
229.RE
230.RS +9
231A failure has occurred.
232.RE
233.SH "Security"
234.PP
235You must have root authority to run the \fBmmrepquota\fR command.
236.PP
237GPFS must be running on the node from which the \fBmmrepquota\fR command
238is issued.
239.SH "Examples"
240.RS +3
241.HP 3
2421. To report on user quotas for file system \fBfs2\fR and display a header
243line, issue this command:
244.sp
245.nf
246mmrepquota -u -v fs2
247.fi
248.sp
249The system displays information similar to:
250.sp
251.nf
252*** Report for USR quotas on fs2
253                Block Limits        |        File Limits
254                           in                            in       entry
255Name type KB quota limit doubt grace|files quota limit doubt grace Type
256root  USR    8   0    0    0   none |  1     0   0   0  none default
257                                                                on
258user2 USR 2016 256  512    0  6days |  7    10  20   0   none d
259user3 USR  104 256  512    0   none |  1    10  20   0   none d
260user4 USR    0 256  512    0   none |  0    10  20   0   none d
261user5 USR  368 256  512    0 23hours|  5     4  10   0 23hours d
262user6 USR    0 256  512    0   none |  0    10  20   0   none d
263user7 USR 1024 1024 5120 4096  none |  1     0   0  19   none e
264.fi
265.sp
266.HP 3
2672. To report on quota enforcement for \fBfs2\fR, issue this command:
268.sp
269.nf
270mmrepquota -q fs2
271.fi
272.sp
273 The system displays information similar to:
274.sp
275.nf
276fs2: USR quota is on; default quota is on
277fs2: GRP quota is on; default quota is on
278fs2: FILESET quota is on; default quota is off\
279.fi
280.sp
281.RE
282.SH "See also"
283.PP
284mmcheckquota Command
285.PP
286mmdefedquota Command
287.PP
288mmdefquotaoff Command
289.PP
290mmdefquotaon Command
291.PP
292mmedquota Command
293.PP
294mmlsquota Command
295.PP
296mmquotaoff Command
297.PP
298mmquotaon Command
299.SH "Location"
300.PP
301\fB/usr/lpp/mmfs/bin\fR
302.PP
Note: See TracBrowser for help on using the repository browser.