== sanity-quota test 1c: Quota pools: check 3 pools with hardlimit only for global ========================================================== 02:06:30 (1738479990) sleep 5 for ZFS MDS Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 User quota (block hardlimit:20 MB) Creating new pool qpool1 oleg129-server: Pool lustre.qpool1 created Waiting 90s for '' Adding targets to pool oleg129-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg129-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Creating new pool qpool2 oleg129-server: Pool lustre.qpool2 created Waiting 90s for '' Adding targets to pool oleg129-server: OST lustre-OST0000_UUID added to pool lustre.qpool2 oleg129-server: OST lustre-OST0001_UUID added to pool lustre.qpool2 Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 0 0 20480 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 0 used 0 Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 0 0 20480 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 0 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1c.sanity-quota/f1c.sanity-quota-0] [count=10] 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.338563 s, 31.0 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1c.sanity-quota/f1c.sanity-quota-0] [count=10] [seek=10] dd: error writing '/mnt/lustre/d1c.sanity-quota/f1c.sanity-quota-0': Disk quota exceeded 10+0 records in 9+0 records out 9437184 bytes (9.4 MB) copied, 0.30813 s, 30.6 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1c.sanity-quota/f1c.sanity-quota-0] [count=1] [seek=20] dd: error writing '/mnt/lustre/d1c.sanity-quota/f1c.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.0492685 s, 0.0 kB/s Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 19461 0 0 - 1 0 0 - Pool: lustre.qpool1 lustre-OST0000 19460 - 20480 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 20480 qpool1 used 19461 Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 19461 0 0 - 1 0 0 - Pool: lustre.qpool2 lustre-OST0000 19460 - 20480 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 20480 qpool2 used 19461 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 quota limit grace files quota limit grace /mnt/lustre 0 0 0 - 0 0 0 - Pool: lustre.qpool1 lustre-OST0000 0 - 0 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 0 Destroy the created pools: qpool1,qpool2 lustre.qpool1 oleg129-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg129-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg129-server: Pool lustre.qpool1 destroyed lustre.qpool2 oleg129-server: OST lustre-OST0000_UUID removed from pool lustre.qpool2 oleg129-server: OST lustre-OST0001_UUID removed from pool lustre.qpool2 oleg129-server: Pool lustre.qpool2 destroyed Waiting 90s for 'foo' Delete files... Wait for unlink objects finished... sleep 5 for ZFS MDS Waiting for MDT destroys to complete