xfs/106: don't test disabling quota accounting
[xfstests-dev.git] / tests / xfs / 106.out
1 QA output created by 106
2 ----------------------- uquota,sync ---------------------------
3 init quota limit and timer, and dump it
4 create_files 1024k 15
5 quota remount
6
7 checking quot command (type=u)
8 SCRATCH_DEV (SCRATCH_MNT) User:
9  1024 15 fsgqa 
10
11 checking timer command (type=u)
12
13 checking limit command (type=u, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
14
15 checking dump command (type=u)
16 report options test
17
18 checking report command (type=u)
19 User quota on SCRATCH_MNT (SCRATCH_DEV)
20  Blocks Inodes 
21 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
22 ---------- -------------------------------------------------- -------------------------------------------------- 
23 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
24
25 -N option
26 checking report command (type=u)
27 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
28
29 -L -U options
30 checking report command (type=u)
31 User quota on SCRATCH_MNT (SCRATCH_DEV)
32  Blocks Inodes 
33 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
34 ---------- -------------------------------------------------- -------------------------------------------------- 
35 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
36
37 -t option
38 checking report command (type=u)
39 User quota on SCRATCH_MNT (SCRATCH_DEV)
40  Blocks Inodes 
41 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
42 ---------- -------------------------------------------------- -------------------------------------------------- 
43 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
44
45 -n option
46 checking report command (type=u)
47 User quota on SCRATCH_MNT (SCRATCH_DEV)
48  Blocks Inodes 
49 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
50 ---------- -------------------------------------------------- -------------------------------------------------- 
51 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
52
53 -h option
54 checking report command (type=u)
55 User quota on SCRATCH_MNT (SCRATCH_DEV)
56  Blocks Inodes 
57 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
58 ---------- --------------------------------- --------------------------------- 
59 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
60
61 quot options test
62
63 checking quot command (type=u)
64 SCRATCH_DEV (SCRATCH_MNT) User:
65  1024 15 fsgqa 
66 -f option
67 checking quot command (type=u)
68 SCRATCH_DEV (SCRATCH_MNT) User:
69  1024 15 fsgqa 
70 -n option
71 checking quot command (type=u)
72 SCRATCH_DEV (SCRATCH_MNT) User:
73  1024 15 #ID 
74
75 checking quota command (type=u)
76 Disk quotas for User fsgqa (ID)
77 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
78 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
79 -f option
80 checking quota command (type=u)
81 Disk quotas for User fsgqa (ID)
82 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
83 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
84 -N option
85 checking quota command (type=u)
86 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
87 -n option
88 checking quota command (type=u)
89 Disk quotas for User #ID (ID)
90 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
91 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
92 -h option
93 checking quota command (type=u)
94 Disk quotas for User fsgqa (ID)
95 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
96 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
97 disable quota
98
99 checking disable command (type=u)
100 User quota state on SCRATCH_MNT (SCRATCH_DEV)
101  Accounting: ON
102  Enforcement: OFF
103  Inode: #[INO] (X blocks, Y extents)
104 Blocks grace time: [3 days]
105 Inodes grace time: [3 days]
106 Realtime Blocks grace time: [7 days]
107
108 checking report command (type=u)
109 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
110
111 expect a remove error at here
112 checking remove command (type=u)
113 XFS_QUOTARM: Invalid argument
114
115 checking enable command (type=u)
116 User quota state on SCRATCH_MNT (SCRATCH_DEV)
117  Accounting: ON
118  Enforcement: ON
119  Inode: #[INO] (X blocks, Y extents)
120 Blocks grace time: [3 days]
121 Inodes grace time: [3 days]
122 Realtime Blocks grace time: [7 days]
123
124 checking report command (type=u)
125 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
126
127 disable and remove test
128
129 checking limit command (type=u, bsoft=100m, bhard=100m, isoft=100, ihard=100)
130
131 checking quota command (type=u)
132 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
133
134 checking disable command (type=u)
135 User quota state on SCRATCH_MNT (SCRATCH_DEV)
136  Accounting: ON
137  Enforcement: OFF
138  Inode: #[INO] (X blocks, Y extents)
139 Blocks grace time: [3 days]
140 Inodes grace time: [3 days]
141 Realtime Blocks grace time: [7 days]
142
143 checking state command (type=u)
144 User quota state on SCRATCH_MNT (SCRATCH_DEV)
145  Accounting: ON
146  Enforcement: OFF
147  Inode: #[INO] (X blocks, Y extents)
148 Blocks grace time: [3 days]
149 Inodes grace time: [3 days]
150 Realtime Blocks grace time: [7 days]
151
152
153 checking remove command (type=u)
154 User quota are not enabled on SCRATCH_DEV
155
156 checking report command (type=u)
157
158 quota remount
159
160 checking report command (type=u)
161 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
162
163 restore quota
164
165 checking restore command (type=u)
166
167 checking report command (type=u)
168 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
169
170
171 checking state command (type=u)
172 User quota state on SCRATCH_MNT (SCRATCH_DEV)
173  Accounting: ON
174  Enforcement: ON
175  Inode: #[INO] (X blocks, Y extents)
176 Blocks grace time: [7 days]
177 Inodes grace time: [7 days]
178 Realtime Blocks grace time: [7 days]
179 cleanup files
180 ----------------------- gquota,sync ---------------------------
181 init quota limit and timer, and dump it
182 create_files 1024k 15
183 quota remount
184
185 checking quot command (type=g)
186 SCRATCH_DEV (SCRATCH_MNT) Group:
187  1024 15 fsgqa 
188
189 checking timer command (type=g)
190
191 checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
192
193 checking dump command (type=g)
194 report options test
195
196 checking report command (type=g)
197 Group quota on SCRATCH_MNT (SCRATCH_DEV)
198  Blocks Inodes 
199 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
200 ---------- -------------------------------------------------- -------------------------------------------------- 
201 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
202
203 -N option
204 checking report command (type=g)
205 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
206
207 -L -U options
208 checking report command (type=g)
209 Group quota on SCRATCH_MNT (SCRATCH_DEV)
210  Blocks Inodes 
211 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
212 ---------- -------------------------------------------------- -------------------------------------------------- 
213 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
214
215 -t option
216 checking report command (type=g)
217 Group quota on SCRATCH_MNT (SCRATCH_DEV)
218  Blocks Inodes 
219 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
220 ---------- -------------------------------------------------- -------------------------------------------------- 
221 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
222
223 -n option
224 checking report command (type=g)
225 Group quota on SCRATCH_MNT (SCRATCH_DEV)
226  Blocks Inodes 
227 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
228 ---------- -------------------------------------------------- -------------------------------------------------- 
229 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
230
231 -h option
232 checking report command (type=g)
233 Group quota on SCRATCH_MNT (SCRATCH_DEV)
234  Blocks Inodes 
235 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
236 ---------- --------------------------------- --------------------------------- 
237 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
238
239 quot options test
240
241 checking quot command (type=g)
242 SCRATCH_DEV (SCRATCH_MNT) Group:
243  1024 15 fsgqa 
244 -f option
245 checking quot command (type=g)
246 SCRATCH_DEV (SCRATCH_MNT) Group:
247  1024 15 fsgqa 
248 -n option
249 checking quot command (type=g)
250 SCRATCH_DEV (SCRATCH_MNT) Group:
251  1024 15 #ID 
252
253 checking quota command (type=g)
254 Disk quotas for Group fsgqa (ID)
255 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
256 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
257 -f option
258 checking quota command (type=g)
259 Disk quotas for Group fsgqa (ID)
260 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
261 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
262 -N option
263 checking quota command (type=g)
264 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
265 -n option
266 checking quota command (type=g)
267 Disk quotas for Group #ID (ID)
268 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
269 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
270 -h option
271 checking quota command (type=g)
272 Disk quotas for Group fsgqa (ID)
273 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
274 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
275 disable quota
276
277 checking disable command (type=g)
278 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
279  Accounting: ON
280  Enforcement: OFF
281  Inode: #[INO] (X blocks, Y extents)
282 Blocks grace time: [3 days]
283 Inodes grace time: [3 days]
284 Realtime Blocks grace time: [7 days]
285
286 checking report command (type=g)
287 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
288
289 expect a remove error at here
290 checking remove command (type=g)
291 XFS_QUOTARM: Invalid argument
292
293 checking enable command (type=g)
294 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
295  Accounting: ON
296  Enforcement: ON
297  Inode: #[INO] (X blocks, Y extents)
298 Blocks grace time: [3 days]
299 Inodes grace time: [3 days]
300 Realtime Blocks grace time: [7 days]
301
302 checking report command (type=g)
303 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
304
305 disable and remove test
306
307 checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
308
309 checking quota command (type=g)
310 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
311
312 checking disable command (type=g)
313 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
314  Accounting: ON
315  Enforcement: OFF
316  Inode: #[INO] (X blocks, Y extents)
317 Blocks grace time: [3 days]
318 Inodes grace time: [3 days]
319 Realtime Blocks grace time: [7 days]
320
321 checking state command (type=g)
322 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
323  Accounting: ON
324  Enforcement: OFF
325  Inode: #[INO] (X blocks, Y extents)
326 Blocks grace time: [3 days]
327 Inodes grace time: [3 days]
328 Realtime Blocks grace time: [7 days]
329
330 checking remove command (type=g)
331 Group quota are not enabled on SCRATCH_DEV
332
333 checking report command (type=g)
334
335 quota remount
336
337 checking report command (type=g)
338 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
339
340 restore quota
341
342 checking restore command (type=g)
343
344 checking report command (type=g)
345 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
346
347
348 checking state command (type=g)
349 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
350  Accounting: ON
351  Enforcement: ON
352  Inode: #[INO] (X blocks, Y extents)
353 Blocks grace time: [7 days]
354 Inodes grace time: [7 days]
355 Realtime Blocks grace time: [7 days]
356 cleanup files
357 ----------------------- pquota,sync ---------------------------
358 init quota limit and timer, and dump it
359 create_files 1024k 15
360 quota remount
361
362 checking quot command (type=p)
363 SCRATCH_DEV (SCRATCH_MNT) Project:
364  1024 15 fsgqa 
365
366 checking timer command (type=p)
367
368 checking limit command (type=p, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
369
370 checking dump command (type=p)
371 report options test
372
373 checking report command (type=p)
374 Project quota on SCRATCH_MNT (SCRATCH_DEV)
375  Blocks Inodes 
376 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
377 ---------- -------------------------------------------------- -------------------------------------------------- 
378 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
379
380 -N option
381 checking report command (type=p)
382 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
383
384 -L -U options
385 checking report command (type=p)
386 Project quota on SCRATCH_MNT (SCRATCH_DEV)
387  Blocks Inodes 
388 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
389 ---------- -------------------------------------------------- -------------------------------------------------- 
390 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
391
392 -t option
393 checking report command (type=p)
394 Project quota on SCRATCH_MNT (SCRATCH_DEV)
395  Blocks Inodes 
396 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
397 ---------- -------------------------------------------------- -------------------------------------------------- 
398 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
399
400 -n option
401 checking report command (type=p)
402 Project quota on SCRATCH_MNT (SCRATCH_DEV)
403  Blocks Inodes 
404 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
405 ---------- -------------------------------------------------- -------------------------------------------------- 
406 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
407
408 -h option
409 checking report command (type=p)
410 Project quota on SCRATCH_MNT (SCRATCH_DEV)
411  Blocks Inodes 
412 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
413 ---------- --------------------------------- --------------------------------- 
414 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
415
416 quot options test
417
418 checking quot command (type=p)
419 SCRATCH_DEV (SCRATCH_MNT) Project:
420  1024 15 fsgqa 
421 -f option
422 checking quot command (type=p)
423 SCRATCH_DEV (SCRATCH_MNT) Project:
424  1024 15 fsgqa 
425 -n option
426 checking quot command (type=p)
427 SCRATCH_DEV (SCRATCH_MNT) Project:
428  1024 15 #ID 
429
430 checking quota command (type=p)
431 Disk quotas for Project fsgqa (ID)
432 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
433 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
434 -f option
435 checking quota command (type=p)
436 Disk quotas for Project fsgqa (ID)
437 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
438 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
439 -N option
440 checking quota command (type=p)
441 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
442 -n option
443 checking quota command (type=p)
444 Disk quotas for Project #ID (ID)
445 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
446 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
447 -h option
448 checking quota command (type=p)
449 Disk quotas for Project fsgqa (ID)
450 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
451 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
452 disable quota
453
454 checking disable command (type=p)
455 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
456  Accounting: ON
457  Enforcement: OFF
458  Inode: #[INO] (X blocks, Y extents)
459 Blocks grace time: [3 days]
460 Inodes grace time: [3 days]
461 Realtime Blocks grace time: [7 days]
462
463 checking report command (type=p)
464 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
465
466 expect a remove error at here
467 checking remove command (type=p)
468 XFS_QUOTARM: Invalid argument
469
470 checking enable command (type=p)
471 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
472  Accounting: ON
473  Enforcement: ON
474  Inode: #[INO] (X blocks, Y extents)
475 Blocks grace time: [3 days]
476 Inodes grace time: [3 days]
477 Realtime Blocks grace time: [7 days]
478
479 checking report command (type=p)
480 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
481
482 disable and remove test
483
484 checking limit command (type=p, bsoft=100m, bhard=100m, isoft=100, ihard=100)
485
486 checking quota command (type=p)
487 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
488
489 checking disable command (type=p)
490 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
491  Accounting: ON
492  Enforcement: OFF
493  Inode: #[INO] (X blocks, Y extents)
494 Blocks grace time: [3 days]
495 Inodes grace time: [3 days]
496 Realtime Blocks grace time: [7 days]
497
498 checking state command (type=p)
499 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
500  Accounting: ON
501  Enforcement: OFF
502  Inode: #[INO] (X blocks, Y extents)
503 Blocks grace time: [3 days]
504 Inodes grace time: [3 days]
505 Realtime Blocks grace time: [7 days]
506
507 checking remove command (type=p)
508 Project quota are not enabled on SCRATCH_DEV
509
510 checking report command (type=p)
511
512 quota remount
513
514 checking report command (type=p)
515 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
516
517 restore quota
518
519 checking restore command (type=p)
520
521 checking report command (type=p)
522 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
523
524
525 checking state command (type=p)
526 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
527  Accounting: ON
528  Enforcement: ON
529  Inode: #[INO] (X blocks, Y extents)
530 Blocks grace time: [7 days]
531 Inodes grace time: [7 days]
532 Realtime Blocks grace time: [7 days]
533 cleanup files