Using Quotas

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 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.