Lustre: Configuraing and Managing Quotas
Jump to navigation
Jump to search
Configuring Quotas on MSU Nodes
Note: All file systems formatted with Lustre software release 2.4.0 or newer no longer require quotacheck to be run since up-to-date accounting information are now always maintained by the OSD layer, regardless of the quota enforcement status.
On MSU nodes,
To turn on the user and group quotas for both inode and block on file system lustrefs, run:
[root@mds2 ~]# lctl conf_param lustrefs.quota.ost=ug
[root@mds2 ~]# lctl conf_param lustrefs.quota.mdt=ugTo view the quotas setting for particular user:
# ssh into one lustre client, eg. compute001
# run cmd below to see the quota details of the user david
lfs quota -u david -v /mnt/lustrefs/To set the quotas for a specific ID,
# ssh into one lustre client, eg. compute001
# cmd below to set the quota for user "david" to 300MB, hard limit to 11000 files,
lfs setquota -u david -b 307200 -B 307200 -i 10000 -I 11000 /mnt/lustrefs/