== sanity-quota test 1b: Quota pools: Block hard limit (normal use and out of quota) ========================================================== 16:29:18 (1777494558) 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 oleg251-server: Pool lustre.qpool1 created Adding targets to pool oleg251-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg251-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, 5.0 MiB) copied, 0.82637 s, 6.3 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] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.0565 s, 5.0 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] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.328517 s, 0.0 kB/s sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete -u quota_usr space:0 debugfs 1.47.3-wc2 (11-Nov-2025) debugfs: No such file or directory while trying to open /tmp/lustre-mdt1 ls: Filesystem not open debugfs 1.47.3-wc2 (11-Nov-2025) debugfs: No such file or directory while trying to open /tmp/lustre-mdt1 ls: Filesystem not open -------------------------------------- Group quota (block hardlimit:20 MB) -g quota_usr space:0 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-1] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.796224 s, 6.6 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-1] [count=5] [seek=5] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-1': Disk quota exceeded 5+0 records in 4+0 records out 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.725995 s, 5.8 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-1] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.169559 s, 0.0 kB/s sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete -g quota_usr space:0 -p 1000 space:0 -------------------------------------- Project quota (block hardlimit:20 mb) /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-2 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-2] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.932513 s, 5.6 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-2] [count=5] [seek=5] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-2': Disk quota exceeded 4+0 records in 3+0 records out 3145728 bytes (3.1 MB, 3.0 MiB) copied, 0.620303 s, 5.1 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-2] [count=1] [seek=10] 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.220067 s, 4.8 MB/s Disk quotas for prj (pid 1000): 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* - 9220 - 1* - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 9220 Files for project (1000), count=1: File: /mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-2 Size: 11534336 Blocks: 16391 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205272502302 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2026-04-29 16:31:42.000000000 -0400 Modify: 2026-04-29 16:31:57.000000000 -0400 Change: 2026-04-29 16:31:57.000000000 -0400 Birth: 2026-04-29 16:31:43.000000000 -0400 sanity-quota test_1b: @@@@@@ FAIL: user write success, but expect EDQUOT Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7400: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:825:test_1b() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7776:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7839:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7654:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:834:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1b.*.1777494721.log Destroy the created pools: qpool1 lustre.qpool1 rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.debug_log.oleg251-server.1777494721.log.Zp9tDZ" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.dmesg.oleg251-server.1777494721.log.gtRKWN" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.3] oleg251-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg251-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg251-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