== sanity-quota test 84: Reset quota should fix the insane granted quota ========================================================== 06:55:19 (1743504919) Waiting for MDT destroys to complete /mnt/lustre-ost2: 0 B (0 bytes) trimmed /mnt/lustre-ost1: 0 B (0 bytes) trimmed Creating test directory fail_val=0 fail_loc=0 Creating new pool qpool1 oleg654-server: Pool lustre.qpool1 created Adding targets to pool oleg654-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg654-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 0 0 10485760 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-MDT0001 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 osd-ldiskfs.lustre-OST0000.quota_slave.force_reint=1 0 /mnt/lustre/d84.sanity-quota/dir1/f84.sanity-quota-1 lmm_stripe_count: 1 lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 130 0x82 0x280000401 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d84.sanity-quota/dir1/f84.sanity-quota-1] [count=60] [conv=nocreat] [oflag=direct] 60+0 records in 60+0 records out 62914560 bytes (63 MB, 60 MiB) copied, 1.79475 s, 35.1 MB/s Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 10485760 - 2 0 0 - lustre-MDT0000 4 - 1048576 - 2 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 61440 - 1048576 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 1048576 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61440 - 1048576 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 1048576 -g quota_usr --ost 000 bhardlimit:1048576 -g quota_usr --ost 000 bhardlimit:1048576 fail_val=0 fail_loc=0xa08 fail_val=0 fail_loc=0xa08 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 0 - 2 0 0 - lustre-MDT0000 4 - 18446744073707374604 - 2 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 61440 - 18446744073707374604 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 18446744073707374604 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61440 - 18446744073707374604 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 18446744073707374604 -g quota_usr --ost 000 bhardlimit:18446744073707374604 -g quota_usr --ost 000 bhardlimit:18446744073707374604 fail_val=0 fail_loc=0 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 0 - 2 0 0 - lustre-MDT0000 4 - 0 - 2 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 61440 - 0 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61440 - 0 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 -g quota_usr --ost 000 bhardlimit:0 -g quota_usr --ost 000 bhardlimit:0 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61440 - 0 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61440 - 0 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 0 -g quota_usr bhardlimit:5242880 Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61444 0 102400 - 2 0 0 - lustre-MDT0000 4* - 4 - 2* - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 61440* - 61440 - 1* - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 61440 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d84.sanity-quota/dir1/f84.sanity-quota-1] [count=200] [conv=nocreat] [oflag=direct] dd: error writing '/mnt/lustre/d84.sanity-quota/dir1/f84.sanity-quota-1': Disk quota exceeded 100+0 records in 99+0 records out 103809024 bytes (104 MB, 99 MiB) copied, 3.25818 s, 31.9 MB/s Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 101380 0 307200 - 2 0 0 - lustre-MDT0000 4* - 4 - 2* - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 101376 - 102396 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 102396 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d84.sanity-quota/dir1/f84.sanity-quota-1] [count=200] [conv=nocreat] [oflag=direct] 200+0 records in 200+0 records out 209715200 bytes (210 MB, 200 MiB) copied, 6.45526 s, 32.5 MB/s Destroy the created pools: qpool1 lustre.qpool1 oleg654-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg654-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg654-server: Pool lustre.qpool1 destroyed Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete /mnt/lustre-ost1: 252 MiB (264224768 bytes) trimmed /mnt/lustre-ost2: 0 B (0 bytes) trimmed