Lustre: Configuraing and Managing Quotas

From Define Wiki
Revision as of 11:23, 5 January 2015 by Chenhui (talk | contribs) (Created page with "== 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 acc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=ug


To view the quotas setting for particular user:

  1. ssh into one lustre client, eg. compute001
  2. run lfs quota -u david -v /mnt/lustrefs/ to see the quota details of the user david

To set the quotas for a specific ID,

  1. ssh into one lustre client, eg. compute001
  2. run lfs setquota -u david -b 307200 -B 307200 -i 10000 -I 11000 /mnt/lustrefs/ to set the quota for user "david" to 300MB, hard limit to 11000 files,