== sanity-quota test 3c: Quota pools: check block soft limit on different pools ========================================================== 14:39:42 (1788892782) limit 4 limit2 8 glbl_limit 12 grace1 70 grace2 60 glbl_grace 80 old_mdmb 462 mdmb 1 osc.lustre-OST0000-osc-ffff8e66c5ddd000.max_dirty_mb=1 osc.lustre-OST0001-osc-ffff8e66c5ddd000.max_dirty_mb=1 User quota in qpool2(soft:8 MB grace:60 seconds) -u quota_usr space:0 Creating new pool qpool1 oleg357-server: Pool lustre.qpool1 created Waiting 90s for '' Adding targets to pool oleg357-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg357-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Creating new pool qpool2 oleg357-server: Pool lustre.qpool2 created Waiting 90s for '' Adding targets to pool oleg357-server: OST lustre-OST0000_UUID added to pool lustre.qpool2 oleg357-server: OST lustre-OST0001_UUID added to pool lustre.qpool2 sleep 5 for ZFS MDS Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 Write up to soft limit running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [count=8] 8+0 records in 8+0 records out 8388608 bytes (8.4 MB, 8.0 MiB) copied, 0.218519 s, 38.4 MB/s Write to exceed soft limit running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [bs=1K] [count=10] [seek=8192] 10+0 records in 10+0 records out 10240 bytes (10 kB, 10 KiB) copied, 0.124998 s, 81.9 kB/s mmap write when over soft limit running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [multiop] [/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0.mmap] [OT40960SMW] Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 9263 12288 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 9220 - 10244 - 1 - 0 - lustre-OST0001 44 - 84 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 10328 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 9263 0 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 9220 - 0 - 1 - 0 - lustre-OST0001 44 - 0 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 0 0 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Block grace time: 1m20s; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Write before timer goes off running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [bs=1K] [count=10] [seek=9216] 10+0 records in 10+0 records out 10240 bytes (10 kB, 10 KiB) copied, 0.121426 s, 84.3 kB/s Quota info for qpool2: Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 10287* 8192 0 1m 0* 0 0 - Grace time is 1m Sleep through grace ... ...sleep 65 seconds Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 10289 12288 0 - 2 0 0 - lustre-MDT0000 2 - 0 - 2 - 0 - lustre-OST0000 10244 - 11268 - 1 - 0 - lustre-OST0001 44 - 84 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 11352 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 10289 0 0 - 2 0 0 - lustre-MDT0000 2 - 0 - 2 - 0 - lustre-OST0000 10244 - 0 - 1 - 0 - lustre-OST0001 44 - 0 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 0 0 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Block grace time: 1m20s; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Write after timer goes off running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [bs=1K] [count=4096] [seek=10240] dd: error writing '/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0': Disk quota exceeded 2+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0281219 s, 36.4 kB/s Write after cancel lru locks running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [bs=1K] [count=10] [seek=14336] dd: error writing '/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.00442912 s, 0.0 kB/s Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 11314 12288 0 - 2 0 0 - lustre-MDT0000 2 - 0 - 2 - 0 - lustre-OST0000 11269* - 11269 - 1* - 0 - lustre-OST0001 44 - 84 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 11353 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 11314 0 0 - 2 0 0 - lustre-MDT0000 2 - 0 - 2 - 0 - lustre-OST0000 11269 - 0 - 1 - 0 - lustre-OST0001 44 - 0 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 0 0 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Block grace time: 1m20s; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Unlink file to stop timer sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 44 12288 0 - 1 0 0 - lustre-MDT0000 1* - 1 - 1* - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 44 - 84 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 84 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 44 0 0 - 1 0 0 - lustre-MDT0000 1 - 0 - 1 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 44 - 0 - 1 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for prj (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 0 0 0 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Block grace time: 1m20s; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Block grace time: 1w; Inode grace time: 1w Write ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [bs=1M] [of=/mnt/lustre/d3c.sanity-quota/f3c.sanity-quota-0] [count=8] 8+0 records in 8+0 records out 8388608 bytes (8.4 MB, 8.0 MiB) copied, 0.247271 s, 33.9 MB/s Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS Waiting for MDT destroys to complete Destroy the created pools: qpool1,qpool2 lustre.qpool1 oleg357-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg357-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg357-server: Pool lustre.qpool1 destroyed lustre.qpool2 oleg357-server: OST lustre-OST0000_UUID removed from pool lustre.qpool2 oleg357-server: OST lustre-OST0001_UUID removed from pool lustre.qpool2 oleg357-server: Pool lustre.qpool2 destroyed osc.lustre-OST0000-osc-ffff8e66c5ddd000.max_dirty_mb=462 osc.lustre-OST0001-osc-ffff8e66c5ddd000.max_dirty_mb=462