== sanity-quota test 1b: Quota pools: Block hard limit (normal use and out of quota) ========================================================== 23:22:21 (1746069741) 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 oleg358-server: Pool lustre.qpool1 created Adding targets to pool oleg358-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg358-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 -u quota_usr space:0 used 0 -u quota_usr bhardlimit:10240 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.555202 s, 9.4 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/d1b.sanity-quota/f1b.sanity-quota-0] [count=5] [seek=5] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0': Disk quota exceeded 4+0 records in 3+0 records out 3145728 bytes (3.1 MB) copied, 0.571728 s, 5.5 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0] [count=1] [seek=10] 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.140365 s, 7.5 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 2 - 0 - 1 - 0 - lustre-OST0000 9220 - 10240 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 10240 Files for user (quota_usr), count=1: File: '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0' Size: 11534336 Blocks: 16391 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205272502294 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2025-04-30 23:22:41.000000000 -0400 Modify: 2025-04-30 23:22:51.000000000 -0400 Change: 2025-04-30 23:22:51.000000000 -0400 Birth: - sanity-quota test_1b: @@@@@@ 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:752:test_1b() = /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:828:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1b.*.1746069773.log Destroy the created pools: qpool1 lustre.qpool1 rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.debug_log.oleg358-server.1746069773.log.QCHZCF" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.dmesg.oleg358-server.1746069773.log.4X3fLT" 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] oleg358-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg358-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg358-server: Pool lustre.qpool1 destroyed Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete