mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
8a0c1200c1
Test that xfs quota behave correctly on idmapped mounts. Mount a scratch device with user and group quota support enabled. Create directories "unmapped" and "idmapped". Create files in the unampped mount and verify quota behavior. Create files through the idmapped mount and verify identical behavior. Cc: Eryu Guan <guan@eryu.me> Cc: Darrick J. Wong <djwong@kernel.org> Cc: fstests@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
658 lines
20 KiB
Plaintext
658 lines
20 KiB
Plaintext
QA output created by 152
|
|
----------------------- uquota,sync,unmapped ---------------------------
|
|
init quota limit and timer, and dump it
|
|
create_files_unmapped 1024k 15
|
|
quota remount
|
|
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
|
|
checking timer command (type=u)
|
|
|
|
checking limit command (type=u, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
|
|
|
|
checking dump command (type=u)
|
|
report options test
|
|
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-N option
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-L -U options
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-t option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-n option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-h option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace
|
|
---------- --------------------------------- ---------------------------------
|
|
fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
quot options test
|
|
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
-f option
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
-n option
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 #ID
|
|
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-f option
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-N option
|
|
checking quota command (type=u)
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-n option
|
|
checking quota command (type=u)
|
|
Disk quotas for User #ID (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-h option
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
disable quota
|
|
|
|
checking disable command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: OFF
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
|
|
|
|
expect a remove error at here
|
|
checking remove command (type=u)
|
|
XFS_QUOTARM: Invalid argument
|
|
|
|
checking enable command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
off and remove test
|
|
|
|
checking limit command (type=u, bsoft=100m, bhard=100m, isoft=100, ihard=100)
|
|
|
|
checking quota command (type=u)
|
|
SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
|
|
|
|
checking off command (type=u)
|
|
User quota are not enabled on SCRATCH_DEV
|
|
|
|
checking state command (type=u)
|
|
|
|
checking remove command (type=u)
|
|
User quota are not enabled on SCRATCH_DEV
|
|
|
|
checking report command (type=u)
|
|
|
|
quota remount
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
|
|
|
|
restore quota
|
|
|
|
checking restore command (type=u)
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
|
|
|
|
|
|
checking state command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
cleanup files
|
|
----------------------- uquota,sync,idmapped ---------------------------
|
|
init quota limit and timer, and dump it
|
|
create_files_idmapped 1024k 15
|
|
quota remount
|
|
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
|
|
checking timer command (type=u)
|
|
|
|
checking limit command (type=u, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
|
|
|
|
checking dump command (type=u)
|
|
report options test
|
|
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-N option
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-L -U options
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-t option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-n option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-h option
|
|
checking report command (type=u)
|
|
User quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
User ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace
|
|
---------- --------------------------------- ---------------------------------
|
|
fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
quot options test
|
|
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
-f option
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 fsgqa
|
|
-n option
|
|
checking quot command (type=u)
|
|
SCRATCH_DEV (SCRATCH_MNT) User:
|
|
1024 15 #ID
|
|
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-f option
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-N option
|
|
checking quota command (type=u)
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-n option
|
|
checking quota command (type=u)
|
|
Disk quotas for User #ID (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-h option
|
|
checking quota command (type=u)
|
|
Disk quotas for User fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
disable quota
|
|
|
|
checking disable command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: OFF
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
|
|
|
|
expect a remove error at here
|
|
checking remove command (type=u)
|
|
XFS_QUOTARM: Invalid argument
|
|
|
|
checking enable command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
off and remove test
|
|
|
|
checking limit command (type=u, bsoft=100m, bhard=100m, isoft=100, ihard=100)
|
|
|
|
checking quota command (type=u)
|
|
SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
|
|
|
|
checking off command (type=u)
|
|
User quota are not enabled on SCRATCH_DEV
|
|
|
|
checking state command (type=u)
|
|
|
|
checking remove command (type=u)
|
|
User quota are not enabled on SCRATCH_DEV
|
|
|
|
checking report command (type=u)
|
|
|
|
quota remount
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
|
|
|
|
restore quota
|
|
|
|
checking restore command (type=u)
|
|
|
|
checking report command (type=u)
|
|
fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
|
|
|
|
|
|
checking state command (type=u)
|
|
User quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
cleanup files
|
|
----------------------- gquota,sync,unmapped ---------------------------
|
|
init quota limit and timer, and dump it
|
|
create_files_unmapped 1024k 15
|
|
quota remount
|
|
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
|
|
checking timer command (type=g)
|
|
|
|
checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
|
|
|
|
checking dump command (type=g)
|
|
report options test
|
|
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-N option
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-L -U options
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-t option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-n option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-h option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace
|
|
---------- --------------------------------- ---------------------------------
|
|
fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
quot options test
|
|
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
-f option
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
-n option
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 #ID
|
|
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-f option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-N option
|
|
checking quota command (type=g)
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-n option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group #ID (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-h option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
disable quota
|
|
|
|
checking disable command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: OFF
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
|
|
|
|
expect a remove error at here
|
|
checking remove command (type=g)
|
|
XFS_QUOTARM: Invalid argument
|
|
|
|
checking enable command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
off and remove test
|
|
|
|
checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
|
|
|
|
checking quota command (type=g)
|
|
SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
|
|
|
|
checking off command (type=g)
|
|
Group quota are not enabled on SCRATCH_DEV
|
|
|
|
checking state command (type=g)
|
|
|
|
checking remove command (type=g)
|
|
Group quota are not enabled on SCRATCH_DEV
|
|
|
|
checking report command (type=g)
|
|
|
|
quota remount
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
|
|
|
|
restore quota
|
|
|
|
checking restore command (type=g)
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
|
|
|
|
|
|
checking state command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
cleanup files
|
|
----------------------- gquota,sync,idmapped ---------------------------
|
|
init quota limit and timer, and dump it
|
|
create_files_idmapped 1024k 15
|
|
quota remount
|
|
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
|
|
checking timer command (type=g)
|
|
|
|
checking limit command (type=g, bsoft=512k, bhard=2048k, isoft=10, ihard=20)
|
|
|
|
checking dump command (type=g)
|
|
report options test
|
|
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-N option
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-L -U options
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-t option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-n option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/ Grace
|
|
---------- -------------------------------------------------- --------------------------------------------------
|
|
#ID 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
-h option
|
|
checking report command (type=g)
|
|
Group quota on SCRATCH_MNT (SCRATCH_DEV)
|
|
Blocks Inodes
|
|
Group ID Used Soft Hard Warn/Grace Used Soft Hard Warn/Grace
|
|
---------- --------------------------------- ---------------------------------
|
|
fsgqa 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
quot options test
|
|
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
-f option
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 fsgqa
|
|
-n option
|
|
checking quot command (type=g)
|
|
SCRATCH_DEV (SCRATCH_MNT) Group:
|
|
1024 15 #ID
|
|
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-f option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-N option
|
|
checking quota command (type=g)
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-n option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group #ID (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1024 512 2048 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
-h option
|
|
checking quota command (type=g)
|
|
Disk quotas for Group fsgqa (ID)
|
|
Filesystem Blocks Quota Limit Warn/Time Files Quota Limit Warn/Time Mounted on
|
|
SCRATCH_DEV 1M 512K 2M 00 [3 days] 15 10 20 00 [3 days] SCRATCH_MNT
|
|
disable quota
|
|
|
|
checking disable command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: OFF
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [--------] 15 10 20 00 [--------]
|
|
|
|
expect a remove error at here
|
|
checking remove command (type=g)
|
|
XFS_QUOTARM: Invalid argument
|
|
|
|
checking enable command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [3 days]
|
|
Inodes grace time: [3 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [3 days] 15 10 20 00 [3 days]
|
|
|
|
off and remove test
|
|
|
|
checking limit command (type=g, bsoft=100m, bhard=100m, isoft=100, ihard=100)
|
|
|
|
checking quota command (type=g)
|
|
SCRATCH_DEV 1024 102400 102400 00 [--------] 15 100 100 00 [--------] SCRATCH_MNT
|
|
|
|
checking off command (type=g)
|
|
Group quota are not enabled on SCRATCH_DEV
|
|
|
|
checking state command (type=g)
|
|
|
|
checking remove command (type=g)
|
|
Group quota are not enabled on SCRATCH_DEV
|
|
|
|
checking report command (type=g)
|
|
|
|
quota remount
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 0 0 00 [--------] 15 0 0 00 [--------]
|
|
|
|
restore quota
|
|
|
|
checking restore command (type=g)
|
|
|
|
checking report command (type=g)
|
|
fsgqa 1024 512 2048 00 [7 days] 15 10 20 00 [7 days]
|
|
|
|
|
|
checking state command (type=g)
|
|
Group quota state on SCRATCH_MNT (SCRATCH_DEV)
|
|
Accounting: ON
|
|
Enforcement: ON
|
|
Inode: #[INO] (X blocks, Y extents)
|
|
Blocks grace time: [7 days]
|
|
Inodes grace time: [7 days]
|
|
Realtime Blocks grace time: [7 days]
|
|
cleanup files
|