<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Niu,<br>
<br>
I've enabled quota during formatting, do I still need to enable it
by lctl?<br>
<br>
[root@mds1 ~]# tunefs.lustre /dev/sda<br>
checking for existing Lustre data: found<br>
Reading CONFIGS/mountdata<br>
<br>
Read previous values:<br>
Target: data-MDT0000<br>
Index: 0<br>
Lustre FS: data<br>
Mount type: ldiskfs<br>
Flags: 0x5<br>
(MDT MGS )<br>
Persistent mount opts: user_xattr,errors=remount-ro<br>
Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1
<b>mdt.quota_type=ug</b><br>
<br>
<br>
Permanent disk data:<br>
Target: data-MDT0000<br>
Index: 0<br>
Lustre FS: data<br>
Mount type: ldiskfs<br>
Flags: 0x5<br>
(MDT MGS )<br>
Persistent mount opts: user_xattr,errors=remount-ro<br>
Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1
<b>mdt.quota_type=ug</b><br>
<br>
<br>
[root@oss1 ~]# tunefs.lustre /dev/sda<br>
checking for existing Lustre data: found<br>
Reading CONFIGS/mountdata<br>
<br>
Read previous values:<br>
Target: data-OST0000<br>
Index: 0<br>
Lustre FS: data<br>
Mount type: ldiskfs<br>
Flags: 0x2<br>
(OST )<br>
Persistent mount opts: errors=remount-ro<br>
Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1
<b>ost.quota_type=ug</b><br>
<br>
<br>
Permanent disk data:<br>
Target: data-OST0000<br>
Index: 0<br>
Lustre FS: data<br>
Mount type: ldiskfs<br>
Flags: 0x2<br>
(OST )<br>
Persistent mount opts: errors=remount-ro<br>
Parameters: mgsnode=192.168.122.240@tcp mgsnode=192.168.100.100@tcp1
<b>ost.quota_type=ug</b><br>
<br>
<br>
<br>
On 03/05/2014 12:12 PM, Niu, Yawei wrote:
<blockquote
cite="mid:D096ED8E2B918A4EB6BBFB3CC14437DF59D7B592@FMSMSX103.amr.corp.intel.com"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss-bounces@lists.lustre.org">lustre-discuss-bounces@lists.lustre.org</a> [<a class="moz-txt-link-freetext" href="mailto:lustre-discuss-bounces@lists.lustre.org">mailto:lustre-discuss-bounces@lists.lustre.org</a>] On Behalf Of Chan Ching Yu Patrick
Sent: Wednesday, March 05, 2014 11:25 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
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
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<span style="color:#000; font-size:14px;">
Chan Ching Yu, Patrick<br>
Senior System Engineer<br>
</span>
<span style="font-weight:bold; color:#333333">Cluster Technology
Limited</span><br>
<br>
<span style="font-weight:bold; color:#999;font-size:13px;
font-style:italic;">Modernize Your Business with Advanced
Computing Technologies</span><br>
<span style="font-weight:bold; color:#999;font-size:13px;">Cloud
Computing | Cluster | Financial Engineering | Business
Intelligence</span><br>
<br>
<div style="font-size:13px;color:#666666;">
<span style="color: #00CCFF">Email:</span> <a
href="mailto:cychan@clustertech.com"> cychan @clustertech.com</a><br>
<span style="color: #00CCFF">Direct Line:</span> +852 2655 6113
<span style="color: #00CCFF">Tel:</span> +852 2655 6100
<span style="color: #00CCFF">Fax:</span> +852 2994 2101
<br>
<span style="color: #00CCFF">Website:</span> <a
href="http://www.clustertech.com">www.clustertech.com</a><br>
<span style="color: #00CCFF">Address:</span> Units 211 - 213,
Lakeside 1, No. 8 Science Park West Avenue, Hong Kong Science
Park, N.T. Hong Kong<br>
<div style="line-height:14px; font-style:italic;">Hong Kong
Beijing Shanghai Guangzhou Shenzhen Wuhan
Sydney</div>
<br>
</div>
<span style="font-size:12px;">
**************************************************************************<br>
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.<br>
**************************************************************************
</span></div>
</body>
</html>