[Lustre-discuss] Lustre Quota over Hard Limit

Niu, Yawei yawei.niu at intel.com
Tue Mar 4 20:12:50 PST 2014


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-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Chan Ching Yu Patrick
Sent: Wednesday, March 05, 2014 11:25 AM
To: lustre-discuss at 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 at 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 at 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 at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss



More information about the lustre-discuss mailing list