WARNING: This is the _old_ Lustre wiki, and it is in the process of being retired. The information found here is all likely to be out of date. Please search the new wiki for more up to date information.

Using Quotas: Difference between revisions

From Obsolete Lustre Wiki
Jump to navigationJump to search
(Created page with ' The ''lfs quota'' command displays disk usage and quotas. By default, only user quotas are displayed (or with the ''-u'' flag). A root user can use the ''-u'' flag, with the op...')
 
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For information about configuring quotas, see [http://wiki.lustre.org/manual/LustreManual20_HTML/ConfiguringQuotas.html#50438217_pgfId-1289854 Chapter 21: ''Configuring and Managing Quotas''] in the [http://wiki.lustre.org/manual/LustreManual20_HTML/index.html ''Lustre Operations Manual''].


The ''lfs quota'' command displays disk usage and quotas. By default, only user quotas are displayed (or with the ''-u'' flag).
For related information, see [http://wiki.lustre.org/manual/LustreManual20_HTML/ManagingStripingFreeSpace.html#50438209_pgfId-1293926 Section 18.5: ''Managing Free Space''] in the [http://wiki.lustre.org/manual/LustreManual20_HTML/index.html ''Lustre Operations Manual''].
 
A root user can use the ''-u'' flag, with the optional user parameter, to view the limits of other users. Users without root user authority can use the ''-g'' flag, with the optional group parameter, to view the limits of groups of which they are members.
 
'''''Note:''''' If a user has no files in a file system on which they have a quota, the lfs quota command shows quota: none for the user. The user's actual quota is displayed when the user has files in the file system.
 
=== Examples ===
To display quotas as user “bob,” run:
$ lfs quota -u /mnt/lustre
 
The above command displays disk usage and limits for user "bob."
 
To display quotas as root user for user “bob,” run:
$ lfs quota -u bob /mnt/lustre
The system can also show the below information about disk usage by “bob.
 
To display your group's quota as “tom”:
$ lfs -g tom /mnt/lustre
 
To display the group's quota of “tom”:
$ lfs quota -g tom /mnt/lustre
 
'''''Note:''''' As for ext3, Lustre makes a sparse file in case you truncate at an offset past the end of the file. Space is utilized in the file system only when you actually write the data to these blocks.

Latest revision as of 06:55, 20 January 2011

For information about configuring quotas, see Chapter 21: Configuring and Managing Quotas in the Lustre Operations Manual.

For related information, see Section 18.5: Managing Free Space in the Lustre Operations Manual.