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.

24.2 Using Quotas<br />

The lfs quota command displays disk usage and quotas. By default, only user<br />

quotas are displayed (or with the -u flag).<br />

A root user can use the -u flag, with the optional user parameter, to view the limits<br />

of other users. Users without root user authority can use the -g flag, with the<br />

optional group parameter, to view the limits of groups of which they are members.<br />

Note – If a user has no files in a filesystem on which they have a quota, the lfs<br />

quota command shows quota: none for the user. The user's actual quota is<br />

displayed when the user has files in the filesystem.<br />

Examples<br />

To display quotas as user “bob,” run:<br />

$ lfs quota -u /mnt/lustre<br />

The above command displays disk usage and limits for user "bob."<br />

To display quotas as root user for user “bob,” run:<br />

$ lfs quota -u bob /mnt/lustre<br />

The system can also show the below information about disk usage by “bob.”<br />

To display your group's quota as “tom”:<br />

$ lfs -g tom /mnt/lustre<br />

To display the group's quota of “tom”:<br />

$ lfs quota -g tom /mnt/lustre<br />

Note – As for ext3, <strong>Lustre</strong> makes a sparse file in case you truncate at an offset past<br />

the end of the file. Space is utilized in the filesystem only when you actually write<br />

the data to these blocks.<br />

24-4 <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!