== sanity-quota test 73a: default limits at OST Pool Quotas ========================================================== 11:31:34 (1729092694) Creating new pool oleg111-server: Pool lustre.qpool1 created Adding targets to pool oleg111-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg111-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 LIMIT=20480 TESTFILE=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0 qdtype=-U qh=-B qid=quota_usr qprjid=1000 qres_type=data qs=-b qtype=-u Waiting for MDT destroys to complete oleg111-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported oleg111-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 Creating test directory fail_val=0 fail_loc=0 set to use default quota lfs setquota: '-d' deprecated, use '-D' or '--default' set default quota get default quota Disk default usr quota: Filesystem bquota blimit bgrace iquota ilimit igrace /mnt/lustre 0 0 10 0 0 10 Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 0 1073741824 1073741824 - 0 0 0 - lustre-MDT0000 0 - 0 - 0 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 0 - 0 - - - - - lustre-OST0001 0 - 0 - - - - - Total allocated inode limit: 0, total allocated block limit: 0 Test not out of quota running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0] [count=10] [oflag=sync] 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.649159 s, 16.2 MB/s Test out of quota running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0] [count=40] [oflag=sync] dd: error writing '/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0': Disk quota exceeded 20+0 records in 19+0 records out 20963328 bytes (21 MB) copied, 1.73152 s, 12.1 MB/s Increase default quota running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0] [count=40] [oflag=sync] 40+0 records in 40+0 records out 41943040 bytes (42 MB) copied, 2.74404 s, 15.3 MB/s Set quota to override default quota running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0] [count=40] [oflag=sync] dd: error writing '/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0': Disk quota exceeded 21+0 records in 20+0 records out 20971520 bytes (21 MB) copied, 1.14192 s, 18.4 MB/s Set to use default quota again lfs setquota: '-d' deprecated, use '-D' or '--default' running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d73a.sanity-quota/f73a.sanity-quota-0] [count=40] [oflag=sync] 40+0 records in 40+0 records out 41943040 bytes (42 MB) copied, 2.80207 s, 15.0 MB/s Cleanup Waiting for MDT destroys to complete oleg111-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported oleg111-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete oleg111-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported oleg111-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete oleg111-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported oleg111-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 pdsh@oleg111-client: oleg111-server: ssh exited with exit code 1 Destroy the created pools: qpool1 lustre.qpool1 oleg111-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg111-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg111-server: Pool lustre.qpool1 destroyed