Hi Niu, I've enabled quota during formatting, do I still need to enable it by lctl? [root@mds1 ~]# tunefs.lustre /dev/sda checking for existing Lustre data: found Reading CONFIGS/mountdata Read previous values: Target: data-MDT0000 Index: 0 Lustre FS: data Mount type: ldiskfs Flags: 0x5 (MDT MGS ) Persistent mount opts: user_xattr,errors=remount-ro Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1 mdt.quota_type=ug Permanent disk data: Target: data-MDT0000 Index: 0 Lustre FS: data Mount type: ldiskfs Flags: 0x5 (MDT MGS ) Persistent mount opts: user_xattr,errors=remount-ro Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1 mdt.quota_type=ug [root@oss1 ~]# tunefs.lustre /dev/sda checking for existing Lustre data: found Reading CONFIGS/mountdata Read previous values: Target: data-OST0000 Index: 0 Lustre FS: data Mount type: ldiskfs Flags: 0x2 (OST ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1 ost.quota_type=ug Permanent disk data: Target: data-OST0000 Index: 0 Lustre FS: data Mount type: ldiskfs Flags: 0x2 (OST ) Persistent mount opts: errors=remount-ro Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1 ost.quota_type=ug On 03/05/2014 12:12 PM, Niu, Yawei wrote: Did you enable block quota by 'lctl conf_param $fsname.ost.quota=ug"? You can check this in the "quota_slave/info" of each osd proc dir. (for instance, proc/fs/lustre/osd-ldiskfs/lustre-OST0000/quota_slave/info)-----Original Message----- From: lustre-discuss-boun...@lists.lustre.org [mailto:lustre-discuss-boun...@lists.lustre.org] On Behalf Of Chan Ching Yu Patrick Sent: Wednesday, March 05, 2014 11:25 AM To: lustre-discuss@lists.lustre.org Subject: [Lustre-discuss] Lustre Quota over Hard Limit Hi, I'm testing quota with latest maintenance release (Lustre 2.4.2). I found that Lustre still allow the users to write the file over hard limit. Let's see the example below. I've set 500MB soft limit and 530MB hard limit. But I can write a 700MB file. [patrick@client lustre]$ dd if=/dev/zero of=/lustre/file bs=1M count=700 700+0 records in 700+0 records out 734003200 bytes (734 MB) copied, 31.6627 s, 23.2 MB/s [root@client lustre]# lfs quota -u patrick /lustre/ Disk quotas for user patrick (uid 500): Filesystem kbytes quota limit grace files quota limit grace /lustre/ 716804* 500000 530000 - 1 0 0 - Regards, Patrick _______________________________________________ Lustre-discuss mailing list Lustre-discuss@lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss --
Chan Ching Yu, Patrick Senior System Engineer Cluster Technology Limited Modernize Your Business with Advanced Computing Technologies Cloud Computing | Cluster | Financial Engineering | Business Intelligence
Email: cychan @clustertech.com
**************************************************************************Direct Line: +852 2655 6113 Tel: +852 2655 6100 Fax: +852 2994 2101 Website: www.clustertech.com Address: Units 211 - 213, Lakeside 1, No. 8 Science Park West Avenue, Hong Kong Science Park, N.T. Hong Kong Hong Kong
Beijing Shanghai Guangzhou Shenzhen Wuhan
Sydney
The information contained in this e-mail and its attachments is confidential and intended solely for the specified addressees. If you have received this email in error, please do not read, copy, distribute, disclose or use any information of this email in any way and please immediately notify the sender and delete this email. Thank you for your cooperation. ************************************************************************** |
_______________________________________________ Lustre-discuss mailing list Lustre-discuss@lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss