== sanity-quota test 84: Reset quota should fix the insane granted quota ========================================================== 09:12:50 (1750597970) Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 Creating new pool qpool1 oleg413-server: Pool lustre.qpool1 created Adding targets to pool oleg413-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg413-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) copied, 2.44768 s, 25.7 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 - 1048580 - 2 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 61440 - 1110016 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 1110016 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 - 1110016 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 1110016 -g quota_usr --ost 000 bhardlimit:1110016 -g quota_usr --ost 000 bhardlimit:1110016 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 99+0 records in 98+0 records out 102760448 bytes (103 MB) copied, 4.29483 s, 23.9 MB/s Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 100356 0 307200 - 2 0 0 - lustre-MDT0000 4* - 4 - 2* - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 100352 - 116736 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 116736 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) copied, 7.41461 s, 28.3 MB/s Destroy the created pools: qpool1 lustre.qpool1 oleg413-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg413-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg413-server: Pool lustre.qpool1 destroyed Waiting 90s for 'foo' Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete