8603f31a2683176eceb1ce9cb0c35ba6a8011e16
[xfstests-dev.git] / 050.grpquota
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 user quotas on device [DEVICE]
11 Block grace time: 7days Inode grace time: 7days
12                         Block limits               File limits
13 User            used    soft    hard  grace    used  soft  hard  grace
14 [NAME]    --       0       0       0              3     0     0       
15
16 *** report initial settings
17 *** Report for user quotas on device [DEVICE]
18 Block grace time: 7days Inode grace time: 7days
19                         Block limits               File limits
20 User            used    soft    hard  grace    used  soft  hard  grace
21 [NAME]    --       0       0       0              3     0     0       
22 [NAME]    --       0     100     500              1     4    10       
23
24 *** push past the soft inode limit
25 *** Report for user quotas on device [DEVICE]
26 Block grace time: 7days Inode grace time: 7days
27                         Block limits               File limits
28 User            used    soft    hard  grace    used  soft  hard  grace
29 [NAME]    --       0       0       0              3     0     0       
30 [NAME]    --       0     100     500              3     4    10       
31
32 *** push past the soft block limit
33 *** Report for user quotas on device [DEVICE]
34 Block grace time: 7days Inode grace time: 7days
35                         Block limits               File limits
36 User            used    soft    hard  grace    used  soft  hard  grace
37 [NAME]    --       0       0       0              3     0     0       
38 [NAME]    +-     140     100     500  7days       4     4    10  7days
39
40 *** push past the hard inode limit (expect EDQUOT)
41 *** Report for user quotas on device [DEVICE]
42 Block grace time: 7days Inode grace time: 7days
43                         Block limits               File limits
44 User            used    soft    hard  grace    used  soft  hard  grace
45 [NAME]    --       0       0       0              3     0     0       
46 [NAME]    ++     140     100     500  7days      10     4    10  7days
47
48 *** push past the hard block limit (expect EDQUOT)
49 *** Report for user quotas on device [DEVICE]
50 Block grace time: 7days Inode grace time: 7days
51                         Block limits               File limits
52 User            used    soft    hard  grace    used  soft  hard  grace
53 [NAME]    --       0       0       0              3     0     0       
54 [NAME]    ++     448     100     500  7days      10     4    10  7days
55
56 *** unmount