generic: test MADV_POPULATE_READ with IO errors
[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 turning quota off by remounting
153
154 checking remove command (type=u)
155 User quota are not enabled on SCRATCH_DEV
156
157 checking report command (type=u)
158
159 quota remount
160
161 checking report command (type=u)
162 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
163
164 restore quota
165
166 checking restore command (type=u)
167
168 checking report command (type=u)
169 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
170
171
172 checking state command (type=u)
173 User quota state on SCRATCH_MNT (SCRATCH_DEV)
174  Accounting: ON
175  Enforcement: ON
176  Inode: #[INO] (X blocks, Y extents)
177 Blocks grace time: [7 days]
178 Inodes grace time: [7 days]
179 Realtime Blocks grace time: [7 days]
180 cleanup files
181 ----------------------- gquota,sync ---------------------------
182 init quota limit and timer, and dump it
183 create_files 1024k 15
184 quota remount
185
186 checking quot command (type=g)
187 SCRATCH_DEV (SCRATCH_MNT) Group:
188  1024 15 fsgqa 
189
190 checking timer command (type=g)
191
192 checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
193
194 checking dump command (type=g)
195 report options test
196
197 checking report command (type=g)
198 Group quota on SCRATCH_MNT (SCRATCH_DEV)
199  Blocks Inodes 
200 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
201 ---------- -------------------------------------------------- -------------------------------------------------- 
202 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
203
204 -N option
205 checking report command (type=g)
206 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
207
208 -L -U options
209 checking report command (type=g)
210 Group quota on SCRATCH_MNT (SCRATCH_DEV)
211  Blocks Inodes 
212 Group 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 -t option
217 checking report command (type=g)
218 Group quota on SCRATCH_MNT (SCRATCH_DEV)
219  Blocks Inodes 
220 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
221 ---------- -------------------------------------------------- -------------------------------------------------- 
222 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
223
224 -n option
225 checking report command (type=g)
226 Group quota on SCRATCH_MNT (SCRATCH_DEV)
227  Blocks Inodes 
228 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
229 ---------- -------------------------------------------------- -------------------------------------------------- 
230 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
231
232 -h option
233 checking report command (type=g)
234 Group quota on SCRATCH_MNT (SCRATCH_DEV)
235  Blocks Inodes 
236 Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
237 ---------- --------------------------------- --------------------------------- 
238 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
239
240 quot options test
241
242 checking quot command (type=g)
243 SCRATCH_DEV (SCRATCH_MNT) Group:
244  1024 15 fsgqa 
245 -f option
246 checking quot command (type=g)
247 SCRATCH_DEV (SCRATCH_MNT) Group:
248  1024 15 fsgqa 
249 -n option
250 checking quot command (type=g)
251 SCRATCH_DEV (SCRATCH_MNT) Group:
252  1024 15 #ID 
253
254 checking quota command (type=g)
255 Disk quotas for Group fsgqa (ID)
256 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
257 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
258 -f option
259 checking quota command (type=g)
260 Disk quotas for Group fsgqa (ID)
261 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
262 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
263 -N option
264 checking quota command (type=g)
265 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
266 -n option
267 checking quota command (type=g)
268 Disk quotas for Group #ID (ID)
269 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
270 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
271 -h option
272 checking quota command (type=g)
273 Disk quotas for Group fsgqa (ID)
274 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
275 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
276 disable quota
277
278 checking disable command (type=g)
279 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
280  Accounting: ON
281  Enforcement: OFF
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=g)
288 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
289
290 expect a remove error at here
291 checking remove command (type=g)
292 XFS_QUOTARM: Invalid argument
293
294 checking enable command (type=g)
295 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
296  Accounting: ON
297  Enforcement: ON
298  Inode: #[INO] (X blocks, Y extents)
299 Blocks grace time: [3 days]
300 Inodes grace time: [3 days]
301 Realtime Blocks grace time: [7 days]
302
303 checking report command (type=g)
304 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
305
306 disable and remove test
307
308 checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
309
310 checking quota command (type=g)
311 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
312
313 checking disable command (type=g)
314 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
315  Accounting: ON
316  Enforcement: OFF
317  Inode: #[INO] (X blocks, Y extents)
318 Blocks grace time: [3 days]
319 Inodes grace time: [3 days]
320 Realtime Blocks grace time: [7 days]
321
322 checking state command (type=g)
323 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
324  Accounting: ON
325  Enforcement: OFF
326  Inode: #[INO] (X blocks, Y extents)
327 Blocks grace time: [3 days]
328 Inodes grace time: [3 days]
329 Realtime Blocks grace time: [7 days]
330
331 turning quota off by remounting
332
333 checking remove command (type=g)
334 Group quota are not enabled on SCRATCH_DEV
335
336 checking report command (type=g)
337
338 quota remount
339
340 checking report command (type=g)
341 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
342
343 restore quota
344
345 checking restore command (type=g)
346
347 checking report command (type=g)
348 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
349
350
351 checking state command (type=g)
352 Group quota state on SCRATCH_MNT (SCRATCH_DEV)
353  Accounting: ON
354  Enforcement: ON
355  Inode: #[INO] (X blocks, Y extents)
356 Blocks grace time: [7 days]
357 Inodes grace time: [7 days]
358 Realtime Blocks grace time: [7 days]
359 cleanup files
360 ----------------------- pquota,sync ---------------------------
361 init quota limit and timer, and dump it
362 create_files 1024k 15
363 quota remount
364
365 checking quot command (type=p)
366 SCRATCH_DEV (SCRATCH_MNT) Project:
367  1024 15 fsgqa 
368
369 checking timer command (type=p)
370
371 checking limit command (type=p, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
372
373 checking dump command (type=p)
374 report options test
375
376 checking report command (type=p)
377 Project quota on SCRATCH_MNT (SCRATCH_DEV)
378  Blocks Inodes 
379 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
380 ---------- -------------------------------------------------- -------------------------------------------------- 
381 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
382
383 -N option
384 checking report command (type=p)
385 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
386
387 -L -U options
388 checking report command (type=p)
389 Project quota on SCRATCH_MNT (SCRATCH_DEV)
390  Blocks Inodes 
391 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
392 ---------- -------------------------------------------------- -------------------------------------------------- 
393 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
394
395 -t option
396 checking report command (type=p)
397 Project quota on SCRATCH_MNT (SCRATCH_DEV)
398  Blocks Inodes 
399 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
400 ---------- -------------------------------------------------- -------------------------------------------------- 
401 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
402
403 -n option
404 checking report command (type=p)
405 Project quota on SCRATCH_MNT (SCRATCH_DEV)
406  Blocks Inodes 
407 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace 
408 ---------- -------------------------------------------------- -------------------------------------------------- 
409 #ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
410
411 -h option
412 checking report command (type=p)
413 Project quota on SCRATCH_MNT (SCRATCH_DEV)
414  Blocks Inodes 
415 Project ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace 
416 ---------- --------------------------------- --------------------------------- 
417 fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
418
419 quot options test
420
421 checking quot command (type=p)
422 SCRATCH_DEV (SCRATCH_MNT) Project:
423  1024 15 fsgqa 
424 -f option
425 checking quot command (type=p)
426 SCRATCH_DEV (SCRATCH_MNT) Project:
427  1024 15 fsgqa 
428 -n option
429 checking quot command (type=p)
430 SCRATCH_DEV (SCRATCH_MNT) Project:
431  1024 15 #ID 
432
433 checking quota command (type=p)
434 Disk quotas for Project fsgqa (ID)
435 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
436 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
437 -f option
438 checking quota command (type=p)
439 Disk quotas for Project fsgqa (ID)
440 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
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 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
445 -n option
446 checking quota command (type=p)
447 Disk quotas for Project #ID (ID)
448 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
449 SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
450 -h option
451 checking quota command (type=p)
452 Disk quotas for Project fsgqa (ID)
453 Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
454 SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
455 disable quota
456
457 checking disable command (type=p)
458 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
459  Accounting: ON
460  Enforcement: OFF
461  Inode: #[INO] (X blocks, Y extents)
462 Blocks grace time: [3 days]
463 Inodes grace time: [3 days]
464 Realtime Blocks grace time: [7 days]
465
466 checking report command (type=p)
467 fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
468
469 expect a remove error at here
470 checking remove command (type=p)
471 XFS_QUOTARM: Invalid argument
472
473 checking enable command (type=p)
474 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
475  Accounting: ON
476  Enforcement: ON
477  Inode: #[INO] (X blocks, Y extents)
478 Blocks grace time: [3 days]
479 Inodes grace time: [3 days]
480 Realtime Blocks grace time: [7 days]
481
482 checking report command (type=p)
483 fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
484
485 disable and remove test
486
487 checking limit command (type=p, bsoft=100m, bhard=100m, isoft=100, ihard=100)
488
489 checking quota command (type=p)
490 SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
491
492 checking disable command (type=p)
493 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
494  Accounting: ON
495  Enforcement: OFF
496  Inode: #[INO] (X blocks, Y extents)
497 Blocks grace time: [3 days]
498 Inodes grace time: [3 days]
499 Realtime Blocks grace time: [7 days]
500
501 checking state command (type=p)
502 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
503  Accounting: ON
504  Enforcement: OFF
505  Inode: #[INO] (X blocks, Y extents)
506 Blocks grace time: [3 days]
507 Inodes grace time: [3 days]
508 Realtime Blocks grace time: [7 days]
509
510 turning quota off by remounting
511
512 checking remove command (type=p)
513 Project quota are not enabled on SCRATCH_DEV
514
515 checking report command (type=p)
516
517 quota remount
518
519 checking report command (type=p)
520 fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
521
522 restore quota
523
524 checking restore command (type=p)
525
526 checking report command (type=p)
527 fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
528
529
530 checking state command (type=p)
531 Project quota state on SCRATCH_MNT (SCRATCH_DEV)
532  Accounting: ON
533  Enforcement: ON
534  Inode: #[INO] (X blocks, Y extents)
535 Blocks grace time: [7 days]
536 Inodes grace time: [7 days]
537 Realtime Blocks grace time: [7 days]
538 cleanup files