xfs/152: avoid failure when quotaoff is not supported
[xfstests-dev.git] / tests / xfs / 152.out
1 QA output created by 152
2 ----------------------- uquota,sync,unmapped ---------------------------
3 init quota limit and timer, and dump it
4 create_files_unmapped 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 off 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 off command (type=u)
135
136 checking state command (type=u)
137
138 checking remove command (type=u)
139 User quota are not enabled on SCRATCH_DEV
140
141 checking report command (type=u)
142
143 quota remount
144
145 checking report command (type=u)
146 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
147
148 restore quota
149
150 checking restore command (type=u)
151
152 checking report command (type=u)
153 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
154
155
156 checking state command (type=u)
157 User quota state on SCRATCH_MNT (SCRATCH_DEV)
158  Accounting: ON
159  Enforcement: ON
160  Inode: #[INO] (X blocks, Y extents)
161 Blocks grace time: [7 days]
162 Inodes grace time: [7 days]
163 Realtime Blocks grace time: [7 days]
164 cleanup files
165 ----------------------- uquota,sync,idmapped ---------------------------
166 init quota limit and timer, and dump it
167 create_files_idmapped 1024k 15
168 quota remount
169
170 checking quot command (type=u)
171 SCRATCH_DEV (SCRATCH_MNT) User:
172  1024 15 fsgqa 
173
174 checking timer command (type=u)
175
176 checking limit command (type=u, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
177
178 checking dump command (type=u)
179 report options test
180
181 checking report command (type=u)
182 User quota on SCRATCH_MNT (SCRATCH_DEV)
183  Blocks Inodes 
184 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
185 ---------- -------------------------------------------------- -------------------------------------------------- 
186 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
187
188 -N option
189 checking report command (type=u)
190 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
191
192 -L -U options
193 checking report command (type=u)
194 User quota on SCRATCH_MNT (SCRATCH_DEV)
195  Blocks Inodes 
196 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
197 ---------- -------------------------------------------------- -------------------------------------------------- 
198 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
199
200 -t option
201 checking report command (type=u)
202 User quota on SCRATCH_MNT (SCRATCH_DEV)
203  Blocks Inodes 
204 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
205 ---------- -------------------------------------------------- -------------------------------------------------- 
206 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
207
208 -n option
209 checking report command (type=u)
210 User quota on SCRATCH_MNT (SCRATCH_DEV)
211  Blocks Inodes 
212 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
213 ---------- -------------------------------------------------- -------------------------------------------------- 
214 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
215
216 -h option
217 checking report command (type=u)
218 User quota on SCRATCH_MNT (SCRATCH_DEV)
219  Blocks Inodes 
220 User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
221 ---------- --------------------------------- --------------------------------- 
222 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
223
224 quot options test
225
226 checking quot command (type=u)
227 SCRATCH_DEV (SCRATCH_MNT) User:
228  1024 15 fsgqa 
229 -f option
230 checking quot command (type=u)
231 SCRATCH_DEV (SCRATCH_MNT) User:
232  1024 15 fsgqa 
233 -n option
234 checking quot command (type=u)
235 SCRATCH_DEV (SCRATCH_MNT) User:
236  1024 15 #ID 
237
238 checking quota command (type=u)
239 Disk quotas for User fsgqa (ID)
240 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
241 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
242 -f option
243 checking quota command (type=u)
244 Disk quotas for User fsgqa (ID)
245 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
246 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
247 -N option
248 checking quota command (type=u)
249 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
250 -n option
251 checking quota command (type=u)
252 Disk quotas for User #ID (ID)
253 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
254 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
255 -h option
256 checking quota command (type=u)
257 Disk quotas for User fsgqa (ID)
258 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
259 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
260 disable quota
261
262 checking disable command (type=u)
263 User quota state on SCRATCH_MNT (SCRATCH_DEV)
264  Accounting: ON
265  Enforcement: OFF
266  Inode: #[INO] (X blocks, Y extents)
267 Blocks grace time: [3 days]
268 Inodes grace time: [3 days]
269 Realtime Blocks grace time: [7 days]
270
271 checking report command (type=u)
272 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
273
274 expect a remove error at here
275 checking remove command (type=u)
276 XFS_QUOTARM: Invalid argument
277
278 checking enable command (type=u)
279 User quota state on SCRATCH_MNT (SCRATCH_DEV)
280  Accounting: ON
281  Enforcement: ON
282  Inode: #[INO] (X blocks, Y extents)
283 Blocks grace time: [3 days]
284 Inodes grace time: [3 days]
285 Realtime Blocks grace time: [7 days]
286
287 checking report command (type=u)
288 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
289
290 off and remove test
291
292 checking limit command (type=u, bsoft=100m, bhard=100m, isoft=100, ihard=100)
293
294 checking quota command (type=u)
295 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
296
297 checking off command (type=u)
298
299 checking state command (type=u)
300
301 checking remove command (type=u)
302 User quota are not enabled on SCRATCH_DEV
303
304 checking report command (type=u)
305
306 quota remount
307
308 checking report command (type=u)
309 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
310
311 restore quota
312
313 checking restore command (type=u)
314
315 checking report command (type=u)
316 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
317
318
319 checking state command (type=u)
320 User quota state on SCRATCH_MNT (SCRATCH_DEV)
321  Accounting: ON
322  Enforcement: ON
323  Inode: #[INO] (X blocks, Y extents)
324 Blocks grace time: [7 days]
325 Inodes grace time: [7 days]
326 Realtime Blocks grace time: [7 days]
327 cleanup files
328 ----------------------- gquota,sync,unmapped ---------------------------
329 init quota limit and timer, and dump it
330 create_files_unmapped 1024k 15
331 quota remount
332
333 checking quot command (type=g)
334 SCRATCH_DEV (SCRATCH_MNT) Group:
335  1024 15 fsgqa 
336
337 checking timer command (type=g)
338
339 checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
340
341 checking dump command (type=g)
342 report options test
343
344 checking report command (type=g)
345 Group quota on SCRATCH_MNT (SCRATCH_DEV)
346  Blocks Inodes 
347 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
348 ---------- -------------------------------------------------- -------------------------------------------------- 
349 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
350
351 -N option
352 checking report command (type=g)
353 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
354
355 -L -U options
356 checking report command (type=g)
357 Group quota on SCRATCH_MNT (SCRATCH_DEV)
358  Blocks Inodes 
359 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
360 ---------- -------------------------------------------------- -------------------------------------------------- 
361 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
362
363 -t option
364 checking report command (type=g)
365 Group quota on SCRATCH_MNT (SCRATCH_DEV)
366  Blocks Inodes 
367 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
368 ---------- -------------------------------------------------- -------------------------------------------------- 
369 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
370
371 -n option
372 checking report command (type=g)
373 Group quota on SCRATCH_MNT (SCRATCH_DEV)
374  Blocks Inodes 
375 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
376 ---------- -------------------------------------------------- -------------------------------------------------- 
377 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
378
379 -h option
380 checking report command (type=g)
381 Group quota on SCRATCH_MNT (SCRATCH_DEV)
382  Blocks Inodes 
383 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
384 ---------- --------------------------------- --------------------------------- 
385 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
386
387 quot options test
388
389 checking quot command (type=g)
390 SCRATCH_DEV (SCRATCH_MNT) Group:
391  1024 15 fsgqa 
392 -f option
393 checking quot command (type=g)
394 SCRATCH_DEV (SCRATCH_MNT) Group:
395  1024 15 fsgqa 
396 -n option
397 checking quot command (type=g)
398 SCRATCH_DEV (SCRATCH_MNT) Group:
399  1024 15 #ID 
400
401 checking quota command (type=g)
402 Disk quotas for Group fsgqa (ID)
403 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
404 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
405 -f option
406 checking quota command (type=g)
407 Disk quotas for Group fsgqa (ID)
408 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
409 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
410 -N option
411 checking quota command (type=g)
412 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
413 -n option
414 checking quota command (type=g)
415 Disk quotas for Group #ID (ID)
416 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
417 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
418 -h option
419 checking quota command (type=g)
420 Disk quotas for Group fsgqa (ID)
421 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
422 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
423 disable quota
424
425 checking disable command (type=g)
426 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
427  Accounting: ON
428  Enforcement: OFF
429  Inode: #[INO] (X blocks, Y extents)
430 Blocks grace time: [3 days]
431 Inodes grace time: [3 days]
432 Realtime Blocks grace time: [7 days]
433
434 checking report command (type=g)
435 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
436
437 expect a remove error at here
438 checking remove command (type=g)
439 XFS_QUOTARM: Invalid argument
440
441 checking enable command (type=g)
442 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
443  Accounting: ON
444  Enforcement: ON
445  Inode: #[INO] (X blocks, Y extents)
446 Blocks grace time: [3 days]
447 Inodes grace time: [3 days]
448 Realtime Blocks grace time: [7 days]
449
450 checking report command (type=g)
451 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
452
453 off and remove test
454
455 checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
456
457 checking quota command (type=g)
458 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
459
460 checking off command (type=g)
461
462 checking state command (type=g)
463
464 checking remove command (type=g)
465 Group quota are not enabled on SCRATCH_DEV
466
467 checking report command (type=g)
468
469 quota remount
470
471 checking report command (type=g)
472 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
473
474 restore quota
475
476 checking restore command (type=g)
477
478 checking report command (type=g)
479 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
480
481
482 checking state command (type=g)
483 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
484  Accounting: ON
485  Enforcement: ON
486  Inode: #[INO] (X blocks, Y extents)
487 Blocks grace time: [7 days]
488 Inodes grace time: [7 days]
489 Realtime Blocks grace time: [7 days]
490 cleanup files
491 ----------------------- gquota,sync,idmapped ---------------------------
492 init quota limit and timer, and dump it
493 create_files_idmapped 1024k 15
494 quota remount
495
496 checking quot command (type=g)
497 SCRATCH_DEV (SCRATCH_MNT) Group:
498  1024 15 fsgqa 
499
500 checking timer command (type=g)
501
502 checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
503
504 checking dump command (type=g)
505 report options test
506
507 checking report command (type=g)
508 Group quota on SCRATCH_MNT (SCRATCH_DEV)
509  Blocks Inodes 
510 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
511 ---------- -------------------------------------------------- -------------------------------------------------- 
512 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
513
514 -N option
515 checking report command (type=g)
516 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
517
518 -L -U options
519 checking report command (type=g)
520 Group quota on SCRATCH_MNT (SCRATCH_DEV)
521  Blocks Inodes 
522 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
523 ---------- -------------------------------------------------- -------------------------------------------------- 
524 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
525
526 -t option
527 checking report command (type=g)
528 Group quota on SCRATCH_MNT (SCRATCH_DEV)
529  Blocks Inodes 
530 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
531 ---------- -------------------------------------------------- -------------------------------------------------- 
532 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
533
534 -n option
535 checking report command (type=g)
536 Group quota on SCRATCH_MNT (SCRATCH_DEV)
537  Blocks Inodes 
538 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
539 ---------- -------------------------------------------------- -------------------------------------------------- 
540 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
541
542 -h option
543 checking report command (type=g)
544 Group quota on SCRATCH_MNT (SCRATCH_DEV)
545  Blocks Inodes 
546 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
547 ---------- --------------------------------- --------------------------------- 
548 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
549
550 quot options test
551
552 checking quot command (type=g)
553 SCRATCH_DEV (SCRATCH_MNT) Group:
554  1024 15 fsgqa 
555 -f option
556 checking quot command (type=g)
557 SCRATCH_DEV (SCRATCH_MNT) Group:
558  1024 15 fsgqa 
559 -n option
560 checking quot command (type=g)
561 SCRATCH_DEV (SCRATCH_MNT) Group:
562  1024 15 #ID 
563
564 checking quota command (type=g)
565 Disk quotas for Group fsgqa (ID)
566 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
567 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
568 -f option
569 checking quota command (type=g)
570 Disk quotas for Group fsgqa (ID)
571 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
572 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
573 -N option
574 checking quota command (type=g)
575 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
576 -n option
577 checking quota command (type=g)
578 Disk quotas for Group #ID (ID)
579 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
580 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
581 -h option
582 checking quota command (type=g)
583 Disk quotas for Group fsgqa (ID)
584 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
585 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
586 disable quota
587
588 checking disable command (type=g)
589 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
590  Accounting: ON
591  Enforcement: OFF
592  Inode: #[INO] (X blocks, Y extents)
593 Blocks grace time: [3 days]
594 Inodes grace time: [3 days]
595 Realtime Blocks grace time: [7 days]
596
597 checking report command (type=g)
598 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
599
600 expect a remove error at here
601 checking remove command (type=g)
602 XFS_QUOTARM: Invalid argument
603
604 checking enable command (type=g)
605 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
606  Accounting: ON
607  Enforcement: ON
608  Inode: #[INO] (X blocks, Y extents)
609 Blocks grace time: [3 days]
610 Inodes grace time: [3 days]
611 Realtime Blocks grace time: [7 days]
612
613 checking report command (type=g)
614 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
615
616 off and remove test
617
618 checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
619
620 checking quota command (type=g)
621 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
622
623 checking off command (type=g)
624
625 checking state command (type=g)
626
627 checking remove command (type=g)
628 Group quota are not enabled on SCRATCH_DEV
629
630 checking report command (type=g)
631
632 quota remount
633
634 checking report command (type=g)
635 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
636
637 restore quota
638
639 checking restore command (type=g)
640
641 checking report command (type=g)
642 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
643
644
645 checking state command (type=g)
646 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
647  Accounting: ON
648  Enforcement: ON
649  Inode: #[INO] (X blocks, Y extents)
650 Blocks grace time: [7 days]
651 Inodes grace time: [7 days]
652 Realtime Blocks grace time: [7 days]
653 cleanup files