IBM Books

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

Creating file system quota reports

You can have GPFS prepare a quota report for a file system using the mmrepquota command. This lists:

  1. Number of files used
  2. Amount of disk space used
  3. Current quota limits
  4. In doubt quotas (disk space allocated but currently unaccounted for)
  5. Grace period allowance to exceed the soft limit
  6. Whether the quotas have been explicitly set or are default values (entryType)

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 whether you want to list only user quota information (-u) or group quota information (-g), along with the file system name, in the mmrepquota command. The default is to summarize both user quotas and group quotas. If the -e 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.

To report on the group quotas for all file systems, enter:

mmrepquota -g -v -a

The system displays information similar to:

fs2: no quota management installed
*** Report for GRP quotas on fs0
                       Block Limits                     |       File Limits
Name   type     KB    quota    limit in_doubt    grace  |  files   quota    limit in_doubt    grace  entryType
system GRP   23840        0        0   121944     none  |   1072       0        0   666        none          i
staff  GRP  683664        0        0    99848     none  |   6211       0        0   455        none          i
users  GRP 4194320 20971520 26214400    92160     none  |  12973  100000   125000  1057        none          e
*** Report for GRP quotas on fs1
                       Block Limits                     |       File Limits
Name   type     KB    quota    limit in_doubt    grace  |  files   quota    limit in_doubt    grace
system GRP  284904        0        0   123144     none  |    727       0        0     0        none          i             

See the mmrepquota Command for complete usage information.


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