== sanity-quota test 1j: Enable project quota enforcement for root ========================================================== 20:01:02 (1781222462) Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 Waiting 90s for 'ugp' Updated after 2s: want 'ugp' got 'ugp' -------------------------------------- Project quota (hardlimit: 40 mb, 2048 files) /home/green/git/lustre-release/lustre/utils/lfs project -sp 1000 /mnt/lustre/d1j.sanity-quota/test_dir /home/green/git/lustre-release/lustre/utils/lfs project -sp 1000 /mnt/lustre/d1j.sanity-quota/test_dir1 /home/green/git/lustre-release/lustre/utils/lfs project -sp 1001 /mnt/lustre/d1j.sanity-quota/test_dir2 /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-0 /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-1 /home/green/git/lustre-release/lustre/utils/lfs project -p 1001 /mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-2 Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 8 0 40960 - 4 0 2048 - lustre-MDT0000 4 - 4096 - 3 - 1024 - lustre-MDT0001 4 - 4096 - 1 - 1024 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 2048, total allocated block limit: 0 Disk quotas for prj (pid 1001): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 4 0 81920 - 2 0 4096 - lustre-MDT0000 4 - 4096 - 2 - 1024 - lustre-MDT0001 0 - 4096 - 0 - 1024 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 2048, total allocated block limit: 0 running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir/tfile1-] [2048] - create 818 (time 1781222494.69 total 10.01 last 81.75) - create 1498 (time 1781222504.69 total 20.01 last 67.99) total: 2048 create in 27.84 seconds: 73.56 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir/tfile2-] [048] total: 4 create in 0.07 seconds: 59.40 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-0] [count=40] [oflag=direct] 40+0 records in 40+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 2.81036 s, 14.9 MB/s running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-0] [count=20] [seek=40] [oflag=direct] 20+0 records in 20+0 records out 20971520 bytes (21 MB, 20 MiB) copied, 1.00784 s, 20.8 MB/s osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=1 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=1 error: get_param: param_path 'osd-*/*/quota_slave/root_prj_enable': No such file or directory Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61564* 0 40960 - 2056* 0 2048 - lustre-MDT0000 120 - 1144 - 2055 - 2055 - lustre-MDT0001 4 - 1028 - 1 - 1024 - lustre-OST0000 61440* - 61440 - 1* - 0 - lustre-OST0001 0 - 0 - 1 - 0 - Total allocated inode limit: 3079, total allocated block limit: 61440 Disk quotas for prj (pid 1001): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 4 0 81920 - 2 0 4096 - lustre-MDT0000 4 - 4096 - 2 - 1024 - lustre-MDT0001 0 - 1028 - 0 - 1024 - lustre-OST0000 0 - 61440 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 2048, total allocated block limit: 61440 running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir1/tfile-] [2048] - create 887 (time 1781222531.66 total 10.01 last 88.60) mknod(/mnt/lustre/d1j.sanity-quota/test_dir1/tfile-1023) error: Disk quota exceeded total: 1023 create in 11.60 seconds: 88.22 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-1] [count=40] [oflag=direct] dd: error writing '/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.109559 s, 0.0 kB/s running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-1] [count=20] [seek=40] [oflag=direct] dd: error writing '/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.0894687 s, 0.0 kB/s running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir2/tfile1-] [2048] - create 933 (time 1781222543.64 total 10.01 last 93.23) - create 1736 (time 1781222553.64 total 20.01 last 80.26) total: 2048 create in 23.71 seconds: 86.38 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir2/tfile2-] [048] total: 4 create in 0.11 seconds: 35.79 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-2] [count=40] [oflag=direct] 40+0 records in 40+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 3.24095 s, 12.9 MB/s running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-2] [count=20] [seek=40] [oflag=direct] 20+0 records in 20+0 records out 20971520 bytes (21 MB, 20 MiB) copied, 2.0221 s, 10.4 MB/s osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 On MGS 192.168.203.130, active = nodemap.active=1 On MGS 192.168.203.130, default.admin_nodemap = nodemap.default.admin_nodemap=1 On MGS 192.168.203.130, default.trusted_nodemap = nodemap.default.trusted_nodemap=1 On MGS 192.168.203.130, test_1j.admin_nodemap = nodemap.test_1j.admin_nodemap=1 On MGS 192.168.203.130, test_1j.trusted_nodemap = nodemap.test_1j.trusted_nodemap=1 On MGS 192.168.203.130, test_1j.rbac = nodemap.test_1j.rbac=file_perms,dne_ops,quota_ops,byfid_ops,chlg_ops running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir/tfile3-] [2048] mknod(/mnt/lustre/d1j.sanity-quota/test_dir/tfile3-0) error: Disk quota exceeded total: 0 create in 0.02 seconds: 0.00 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-0] [count=0] [seek=] [oflag=direct] dd: invalid number: '' On MGS 192.168.203.130, active = nodemap.active=0 running as uid/gid/euid/egid 0/0/0/0, groups: 0 [createmany] [-m] [/mnt/lustre/d1j.sanity-quota/test_dir/tfile4-] [2048] - create 660 (time 1781222611.62 total 10.02 last 65.88) - create 1230 (time 1781222621.63 total 20.03 last 56.94) - create 1835 (time 1781222631.63 total 30.03 last 60.48) total: 2048 create in 34.06 seconds: 60.13 ops/second running as uid/gid/euid/egid 0/0/0/0, groups: 0 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1j.sanity-quota/f1j.sanity-quota-0] [count=40] [seek=40] [oflag=direct] 40+0 records in 40+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 2.79925 s, 15.0 MB/s Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete -p 1000 space:0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-MDT0001.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0000.quota_slave.root_prj_enable=0 osd-ldiskfs.lustre-OST0001.quota_slave.root_prj_enable=0 Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete