+ uname -a Linux tbmds01 2.6.18-238.12.1.el5_lustre.1.8.6.20110625100633 #1 SMP Sat Jun 25 11:14:58 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux + rm -rf /scratch/lustre-imgs + rm -rf /scratch/lustre + mkdir -p /scratch/lustre-imgs + mkdir -p /scratch/lustre/mdt + mkdir -p /scratch/lustre/ost0 + mkdir -p /scratch/lustre/ost1 + mkdir -p /scratch/lustre/client + dd if=/dev/zero of=/scratch/lustre-imgs/mdt.img bs=1M count=100 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.214682 seconds, 488 MB/s + dd if=/dev/zero of=/scratch/lustre-imgs/ost0.img bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 2.66685 seconds, 403 MB/s + dd if=/dev/zero of=/scratch/lustre-imgs/ost1.img bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 2.01927 seconds, 532 MB/s + mkfs.lustre --fsname=sven --mdt --mgs --param mdt.quota_type=ug3 --device-size=100000 /scratch/lustre-imgs/mdt.img Permanent disk data: Target: sven-MDTffff Index: unassigned Lustre FS: sven Mount type: ldiskfs Flags: 0x75 (MDT MGS needs_index first_time update ) Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro Parameters: mdt.quota_type=ug3 mdt.group_upcall=/usr/sbin/l_getgroups checking for existing Lustre data: not found 2 6 18 formatting backing filesystem ldiskfs on /dev/loop0 target name sven-MDTffff 4k blocks 25000 options -i 4096 -I 512 -q -O dir_index,uninit_groups -F mkfs_cmd = mke2fs -j -b 4096 -L sven-MDTffff -i 4096 -I 512 -q -O dir_index,uninit_groups -F /dev/loop0 25000 Writing CONFIGS/mountdata + mkfs.lustre --reformat --fsname=sven --ost --mgsnode=192.168.43.128@tcp0 --param ost.quota_type=ug3 --device-size=1024000 /scratch/lustre-imgs/ost0.img Permanent disk data: Target: sven-OSTffff Index: unassigned Lustre FS: sven Mount type: ldiskfs Flags: 0x72 (OST needs_index first_time update ) Persistent mount opts: errors=remount-ro,extents,mballoc Parameters: mgsnode=192.168.43.128@tcp ost.quota_type=ug3 2 6 18 formatting backing filesystem ldiskfs on /dev/loop0 target name sven-OSTffff 4k blocks 256000 options -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F mkfs_cmd = mke2fs -j -b 4096 -L sven-OSTffff -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F /dev/loop0 256000 Writing CONFIGS/mountdata + mkfs.lustre --reformat --fsname=sven --ost --mgsnode=192.168.43.128@tcp0 --param ost.quota_type=ug3 --device-size=1024000 /scratch/lustre-imgs/ost1.img Permanent disk data: Target: sven-OSTffff Index: unassigned Lustre FS: sven Mount type: ldiskfs Flags: 0x72 (OST needs_index first_time update ) Persistent mount opts: errors=remount-ro,extents,mballoc Parameters: mgsnode=192.168.43.128@tcp ost.quota_type=ug3 2 6 18 formatting backing filesystem ldiskfs on /dev/loop0 target name sven-OSTffff 4k blocks 256000 options -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F mkfs_cmd = mke2fs -j -b 4096 -L sven-OSTffff -i 16384 -I 256 -q -O dir_index,extents,uninit_groups -F /dev/loop0 256000 Writing CONFIGS/mountdata + mount -o loop -t lustre /scratch/lustre-imgs/mdt.img /scratch/lustre/mdt/ + mount -o loop -t lustre /scratch/lustre-imgs/ost0.img /scratch/lustre/ost0 + mount -o loop -t lustre /scratch/lustre-imgs/ost1.img /scratch/lustre/ost1 + mount -t lustre 192.168.43.128:/sven /scratch/lustre/client/ + chmod 777 /scratch/lustre/client + lfs quotacheck /scratch/lustre/client + lfs quotaon /scratch/lustre/client + lctl set_param 'lquota.*.stats=0' lquota.sven-MDT0000.stats=0 lquota.sven-OST0000.stats=0 lquota.sven-OST0001.stats=0 + lfs setquota -g sven 100 100 100 100 /scratch/lustre/client/ warning: using compatibility syntax, it may not be available in future releases! + sudo -u sven dd if=/dev/zero of=/scratch/lustre/client/zeros-sven bs=1M count=10 10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 0.040396 seconds, 260 MB/s + lfs quota -g sven /scratch/lustre/client/ Disk quotas for group sven (gid 500): Filesystem kbytes quota limit grace files quota limit grace /scratch/lustre/client/ 9216* 100 100 - 1 100 100 - + lfs setquota -u sven 100 100 100 100 /scratch/lustre/client warning: using compatibility syntax, it may not be available in future releases! + sudo -u sven dd if=/dev/zero of=/scratch/lustre/client/more-zeros-sven bs=1M count=10 dd: writing `/scratch/lustre/client/more-zeros-sven': Disk quota exceeded dd: closing output file `/scratch/lustre/client/more-zeros-sven': Input/output error + lfs quota -u sven /scratch/lustre/client/ Disk quotas for user sven (uid 500): Filesystem kbytes quota limit grace files quota limit grace /scratch/lustre/client/ 10308* 100 100 - 2 100 100 - + lctl get_param 'lquota.*.quota_type' lquota.sven-MDT0000.quota_type=ug3 lquota.sven-OST0000.quota_type=ug3 lquota.sven-OST0001.quota_type=ug3 + lctl get_param 'obdfilter.*.quota_type' obdfilter.sven-OST0000.quota_type=ug3 obdfilter.sven-OST0001.quota_type=ug3 + lctl get_param 'mds.*.quota_type' mds.sven-MDT0000.quota_type=ug3 + lfs quota -v -u sven /scratch/lustre/client/ Disk quotas for user sven (uid 500): Filesystem kbytes quota limit grace files quota limit grace /scratch/lustre/client/ 10308* 100 100 - 2 100 100 - sven-MDT0000_UUID 0 - 100 - 2 - 20 - sven-OST0000_UUID 9216* - 1 - - - - - sven-OST0001_UUID 1092* - 1 - - - - - + lfs quota -v -g sven /scratch/lustre/client/ Disk quotas for group sven (gid 500): Filesystem kbytes quota limit grace files quota limit grace /scratch/lustre/client/ 10308* 100 100 - 2 100 100 - sven-MDT0000_UUID 0 - 100 - 2 - 20 - sven-OST0000_UUID 9216* - 1 - - - - - sven-OST0001_UUID 1092* - 1 - - - - - + ls -al /scratch/lustre/client total 10316 drwxrwxrwx 2 root root 4096 Jul 22 10:31 . drwxr-xr-x 6 root root 4096 Jul 22 10:31 .. -rw-r--r-- 1 sven sven 1118208 Jul 22 10:31 more-zeros-sven -rw-r--r-- 1 sven sven 10485760 Jul 22 10:31 zeros-sven + sync + sleep 5 + tar czf /root/lquota.tar.gz /proc/fs/lustre/lquota tar: Removing leading `/' from member names