Files
apfstests/219.out
T
Eric Sandeen ae2c20fd77 Add some very basic quota sanity tests for generic filesystems.
This is based on test 108, but uses the generic quota tools,
not xfs_quota, and therefore cannot test project quota.

Also, the IOs are much smaller (48k) so that ext3 won't get into
indirect blocks and throw off the accounting.  This does
assume 4k blocks though.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-08-10 13:18:39 -05:00

64 lines
2.5 KiB
Plaintext

QA output created by 219
### test user accounting
### create files, setting up ownership (type=u)
File: "[SCR_MNT]/buffer"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/direct"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/mmap"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
### some controlled buffered, direct and mmapd IO (type=u)
File: "[SCR_MNT]/buffer"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/direct"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/mmap"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
*** Report for user quotas on device [SCR_DEV]
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
#1 -- 144 0 0 3 0 0
### test group accounting
### create files, setting up ownership (type=g)
File: "[SCR_MNT]/buffer"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/direct"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/mmap"
Size: 0 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
### some controlled buffered, direct and mmapd IO (type=g)
File: "[SCR_MNT]/buffer"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/direct"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
File: "[SCR_MNT]/mmap"
Size: 49152 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: (1) Gid: (2)
*** Report for group quotas on device [SCR_DEV]
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
#2 -- 144 0 0 3 0 0