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