23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To enable quotas automatically when the filesystem is started, you must set the<br />

mdt.quota_type and ost.quota_type parameters, respectively, on the MDT and<br />

OSTs. The parameters can be set to the string u (user), g (group) or ug for both users<br />

and groups.<br />

You can enable quotas at mkfs time (mkfs.lustre --param mdt.quota_type=<br />

ug) or with tunefs.lustre. As an example:<br />

tunefs.lustre --param ost.quota_type=ug $ost_dev<br />

9.1.1.1 Administrative and Operational Quotas<br />

<strong>Lustre</strong> has two kinds of quota files:<br />

■<br />

■<br />

Administrative quotas (for the MDT), which contain limits for users/groups for<br />

the entire cluster.<br />

Operational quotas (for the MDT and OSTs), which contain quota information<br />

dedicated to a cluster node.<br />

<strong>Lustre</strong> <strong>1.6</strong>.5 introduces a new quota format (v2), for administrative quota files, with<br />

continued support for the old quota format (v1). 1 The mdt.quota_type parameter<br />

also handles ‘1’ and ‘2’ options to specify the version of <strong>Lustre</strong> quota that will be<br />

used. For example:<br />

--param mdt.quota_type=ug1<br />

--param mdt.quota_type=u2<br />

In a future <strong>Lustre</strong> release, the v2 format will be added to operational quotas, with<br />

continued support for the v1 format. When v2 support is added, then the<br />

ost.quota_type parameter will handle the ‘1’ and ‘2’ options.<br />

For more information about the v1 and v2 formats, see Quota File Formats.<br />

1. By default, <strong>Lustre</strong> <strong>1.6</strong>.5 uses the v2 format for administrative quotas. Previous releases use quota v1.<br />

Chapter 9 Configuring Quotas 9-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!