23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Caution – Although quotas are available in <strong>Lustre</strong>, root quotas are NOT enforced.<br />

lfs setquota -u root (limits are not enforced)<br />

lfs quota -u root (usage includes internal <strong>Lustre</strong> data that is dynamic in size<br />

and does not accurately reflect mount point visible block and inode usage)<br />

9.1.1 Enabling Disk Quotas<br />

Use this procedure to enable (configure) disk quotas in <strong>Lustre</strong>. To enable quotas:<br />

1. If you have re-complied your Linux kernel, be sure that CONFIG_QUOTA and<br />

CONFIG_QUOTACTL are enabled (quota is enabled in all the Linux 2.6<br />

kernels supplied for <strong>Lustre</strong>).<br />

2. Start the server.<br />

3. Mount the <strong>Lustre</strong> filesystem on the client and verify that the lquota module<br />

has loaded properly by using the lsmod ommand.<br />

$ lsmod<br />

[root@oss161 ~]# lsmod<br />

Module Size Used by<br />

obdfilter 220532 1<br />

fsfilt_ldiskfs 52228 1<br />

ost 96712 1<br />

mgc 60384 1<br />

ldiskfs 186896 2 fsfilt_ldiskfs<br />

lustre 401744 0<br />

lov 289064 1 lustre<br />

lquota 107048 4 obdfilter<br />

mdc 95016 1 lustre<br />

ksocklnd 111812 1<br />

The <strong>Lustre</strong> mount command no longer recognizes the usrquota and grpquota<br />

options. If they were previously specified, remove them from /etc/fstab.<br />

When quota is enabled on the filesystem, it is automatically enabled for all<br />

filesystem clients.<br />

Note – <strong>Lustre</strong> with the Linux kernel 2.4 does not support quotas.<br />

9-2 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

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

Saved successfully!

Ooh no, something went wrong!