== sanity-quota test 1d: Quota pools: check block hardlimit on different pools ========================================================== 20:55:18 (1746147318) sleep 5 for ZFS MDS Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 User quota (block hardlimit:20 MB) Creating new pool qpool1 oleg228-server: Pool lustre.qpool1 created Waiting 90s for '' Adding targets to pool oleg228-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg228-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Creating new pool qpool2 oleg228-server: Pool lustre.qpool2 created Adding targets to pool oleg228-server: OST lustre-OST0000_UUID added to pool lustre.qpool2 oleg228-server: OST lustre-OST0001_UUID added to pool lustre.qpool2 Waiting 90s for 'lustre-OST0000_UUID lustre-OST0001_UUID ' -u quota_usr space:0 used 0 -u quota_usr bhardlimit:20480 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d1d.sanity-quota/f1d.sanity-quota-0] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.592662 s, 8.8 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d1d.sanity-quota/f1d.sanity-quota-0] [count=5] [seek=5] dd: error writing '/mnt/lustre/d1d.sanity-quota/f1d.sanity-quota-0': Disk quota exceeded 4+0 records in 3+0 records out 3145728 bytes (3.1 MB) copied, 0.421293 s, 7.5 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d1d.sanity-quota/f1d.sanity-quota-0] [count=1] [seek=10] 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.10661 s, 9.8 MB/s Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 9221 0 20480 - 1 0 0 - lustre-MDT0000 1 - 0 - 1 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 9221* - 9221 - 1* - 0 - Total allocated inode limit: 0, total allocated block limit: 9221 Files for user (quota_usr), count=1: File: '/mnt/lustre/d1d.sanity-quota/f1d.sanity-quota-0' Size: 11534336 Blocks: 16391 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205272502312 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2025-05-01 20:55:43.000000000 -0400 Modify: 2025-05-01 20:55:53.000000000 -0400 Change: 2025-05-01 20:55:53.000000000 -0400 Birth: - sanity-quota test_1d: @@@@@@ FAIL: user write success, but expect EDQUOT Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7249:error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:156:quota_error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:583:test_1_check_write() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:933:test_1d() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7622:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7685:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7503:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:948:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1d.*.1746147355.log Destroy the created pools: qpool1,qpool2 lustre.qpool1 rsync: chown "/tmp/testlogs/.sanity-quota.test_1d.debug_log.oleg228-server.1746147355.log.GSFvmU" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1d.dmesg.oleg228-server.1746147355.log.9l8Uxz" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [generator=3.1.2] oleg228-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg228-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg228-server: Pool lustre.qpool1 destroyed lustre.qpool2 oleg228-server: OST lustre-OST0000_UUID removed from pool lustre.qpool2 oleg228-server: OST lustre-OST0001_UUID removed from pool lustre.qpool2 oleg228-server: Pool lustre.qpool2 destroyed Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete