137aa0465f21648a2367fafc04ae29d8094b2049
[xfstests-dev.git] / 050.gqnoenforce
1 QA output created by 050
2 meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
3 data     = bsize=XXX blocks=XXX, imaxpct=PCT
4          = sunit=XXX swidth=XXX, unwritten=X
5 naming   =VERN bsize=XXX
6 log      =LDEV bsize=XXX blocks=XXX
7 realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
8
9 *** report no quota settings
10 *** Report for group quotas on device [DEVICE]
11 Block grace time: 7days; Inode grace time: 7days
12                         Block limits                File limits
13 Group           used    soft    hard  grace    used  soft  hard  grace
14 ----------------------------------------------------------------------
15 [NAME]    --       0       0       0              3     0     0       
16
17
18
19 *** report initial settings
20 *** Report for group quotas on device [DEVICE]
21 Block grace time: 7days; Inode grace time: 7days
22                         Block limits                File limits
23 Group           used    soft    hard  grace    used  soft  hard  grace
24 ----------------------------------------------------------------------
25 [NAME]    --       0       0       0              3     0     0       
26 [NAME]    --       0     100     500              1     4    10       
27
28
29
30 *** push past the soft inode limit
31 *** Report for group quotas on device [DEVICE]
32 Block grace time: 7days; Inode grace time: 7days
33                         Block limits                File limits
34 Group           used    soft    hard  grace    used  soft  hard  grace
35 ----------------------------------------------------------------------
36 [NAME]    --       0       0       0              3     0     0       
37 [NAME]    --       0     100     500              3     4    10       
38
39
40
41 *** push past the soft block limit
42 *** Report for group quotas on device [DEVICE]
43 Block grace time: 7days; Inode grace time: 7days
44                         Block limits                File limits
45 Group           used    soft    hard  grace    used  soft  hard  grace
46 ----------------------------------------------------------------------
47 [NAME]    --       0       0       0              3     0     0       
48 [NAME]    +-     140     100     500              4     4    10       
49
50
51
52 *** push past the hard inode limit (expect EDQUOT)
53 *** Report for group quotas on device [DEVICE]
54 Block grace time: 7days; Inode grace time: 7days
55                         Block limits                File limits
56 Group           used    soft    hard  grace    used  soft  hard  grace
57 ----------------------------------------------------------------------
58 [NAME]    --       4       0       0              3     0     0       
59 [NAME]    ++     140     100     500             16     4    10       
60
61
62
63 *** push past the hard block limit (expect EDQUOT)
64 *** Report for group quotas on device [DEVICE]
65 Block grace time: 7days; Inode grace time: 7days
66                         Block limits                File limits
67 Group           used    soft    hard  grace    used  soft  hard  grace
68 ----------------------------------------------------------------------
69 [NAME]    --       4       0       0              3     0     0       
70 [NAME]    ++     540     100     500             16     4    10       
71
72
73
74 *** unmount