== sanity-quota test 84: Reset quota should fix the insane granted quota ========================================================== 12:34:50 (1773678890) sleep 5 for ZFS MDS Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 Creating new pool qpool1 oleg130-server: Pool lustre.qpool1 created Adding targets to pool oleg130-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg130-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Waiting 90s for 'lustre-OST0000_UUID lustre-OST0001_UUID ' 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-OST0000 0 - 0 - 0 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 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 66 0x42 0x240000400 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [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, 2.67859 s, 23.5 MB/s Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 61462 0 10485760 - 2 0 0 - lustre-MDT0000 13 - 0 - 2 - 0 - lustre-OST0000 61449 - 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 61462 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61449 - 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 61462 0 0 - 2 0 0 - lustre-MDT0000 13 - 0 - 2 - 0 - lustre-OST0000 61449 - 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 61462 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61449 - 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 61462 0 0 - 2 0 0 - lustre-MDT0000 13 - 0 - 2 - 0 - lustre-OST0000 61449 - 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 61462 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61449 - 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 61462 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61449 - 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 61462 0 5242880 - 2 0 0 - Pool: lustre.qpool1 lustre-OST0000 61449 - 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 61462 0 102400 - 2 0 0 - lustre-MDT0000 13* - 13 - 2* - 0 - lustre-OST0000 61449* - 61449 - 1* - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 61449 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [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, 4.12502 s, 25.2 MB/s Disk quotas for grp quota_usr (gid 60000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 101401 0 307200 - 2 0 0 - lustre-MDT0000 13* - 13 - 2* - 0 - lustre-OST0000 101388 - 102387 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 102387 running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/urandom] [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, 8.01552 s, 26.2 MB/s Destroy the created pools: qpool1 lustre.qpool1 oleg130-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg130-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg130-server: Pool lustre.qpool1 destroyed Waiting 90s for 'foo' Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS sleep 5 for ZFS OST Waiting for MDT destroys to complete