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