IBM Books

IBM General Parallel File System for AIX: Administration and Programming Reference

Listing quotas

The mmlsquota command displays the file system quota limits, default quota limits, and current usage information. GPFS quota management takes replication into account when reporting on and determining if quota limits have been exceeded for both block and file usage. In a file system that has either type of replication set to a value of two, the values reported on by both the mmlsquota command and the mmrepquota command and the values used to determine if quota limits have been exceeded will be double the value reported by the ls command.

Specify the quota information for one user or user group with the mmlsquota command. If neither -g or -u is specified, quota data is displayed for the user who entered the command. Information is displayed by specifying the following options:

-u User
Display quotas for the user name or user ID specified in the User parameter

-g Group
Display the quotas of the user group or group ID specified in the Group parameter

-d
Display the default quota limits for either group quotas or user quotas.

-e
Collects updated quota information from all nodes before displaying the results.

If this option is not specified, there is the potential to display negative usage values as the quota server may process a combination of up-to-date and back-level information.

-q
Display only information on file systems with usage over quota.

-v
Display quotas on file systems with no allocated storage.

For example, to display default quota information for users of all the file systems in the nodeset, enter:

mmlsquota -d -u

Information similar to the following is returned:

                      Block Limits                         |             File Limits
Filesystem type   KB    quota    limit   in_doubt    grace |    files   quota    limit in_doubt    grace
fs1        USR     0    10240   102400          0     none |        0       0        0        0     none
fs2        USR     no default limits
fs3        USR     no default limits 

This output shows for file system fs1 a default quota limit of 10240K for users has been established. For file systems fs2 and fs3 no default quotas for users has been established.

If you issue the mmlsquota command with the -e option, the quota system collects updated information from all nodes before returning output. If the node to which in-doubt space was allocated should fail before updating the quota system about its actual usage, this space might be lost. Should the amount of space in doubt approach a significant percentage of the quota, run the mmcheckquota command to account for the lost space.

To collect and display updated quota information about a group named blueteam, specify the -g and -e options:

mmlsquota -g blueteam -e

Information is returned for groups and users in the same format.

See the mmlsquota Command for complete usage information.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]