Files
apfstests/tests/generic/603.out
T
Zorro Lang 3423e3326e generic: test per-type quota softlimit enforcement timeout
Set different block & inode grace timers for user, group and project
quotas, then test softlimit enforcement timeout, make sure different
grace timers as expected.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-07-20 00:40:07 +08:00

42 lines
1.5 KiB
Plaintext

QA output created by 603
### Set up different grace timers to each type of quota
### Test user quota softlimit and grace time
### Initialize files, and their mode and ownership
--- Test block quota ---
Write 225 blocks...
Rewrite 250 blocks plus 1 byte, over the block softlimit...
Try to write 1 one more block after grace...
pwrite: Disk quota exceeded
--- Test inode quota ---
Create 2 more files, over the inode softlimit...
Try to create one more inode after grace...
touch: cannot touch 'SCRATCH_MNT/file5': Disk quota exceeded
### Remove all files
### Test group quota softlimit and grace time
### Initialize files, and their mode and ownership
--- Test block quota ---
Write 225 blocks...
Rewrite 250 blocks plus 1 byte, over the block softlimit...
Try to write 1 one more block after grace...
pwrite: Disk quota exceeded
--- Test inode quota ---
Create 2 more files, over the inode softlimit...
Try to create one more inode after grace...
touch: cannot touch 'SCRATCH_MNT/file5': Disk quota exceeded
### Remove all files
### Test project quota softlimit and grace time
### Initialize files, and their mode and ownership
--- Test block quota ---
Write 225 blocks...
Rewrite 250 blocks plus 1 byte, over the block softlimit...
Try to write 1 one more block after grace...
pwrite: EDQUOT|ENOSPC
--- Test inode quota ---
Create 2 more files, over the inode softlimit...
Try to create one more inode after grace...
touch: cannot touch 'SCRATCH_MNT/t/file5': EDQUOT|ENOSPC
### Remove all files