IBM Books

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

Checking quotas

The mmcheckquota command counts inode and space usage for a file system and writes the collected data into quota files. You must use the mmcheckquota command if:

  1. Quota information is lost due to node failure.

    Node failure could leave users unable to open files or deny them disk space that their quotas should allow.

  2. The in-doubt value approaches the quota limit.

    As the sum of the in-doubt value and the current usage may not exceed the hard limit, the actual block space and number of files available to the user or the group may be constrained by the in-doubt value. Should the in-doubt value approach a significant percentage of the quota use the mmcheckquota command to account for the lost space and files.

For example, to check quotas for the file system fs1 and report differences between calculated and recorded disk quotas, enter:

mmcheckquota -v fs1

The information displayed shows that the quota information for user 0 was corrected. Due to a system failure, this information was lost at the server, which recorded 0 subblocks and 0 files. The current usage data counted is 96 subblocks and 3 files. This is used to update the quota:

/dev/fs1: quota-check found following differences:
USR 0: 96 subblocks counted (was 0); 3 inodes counted (was 0)

See the mmcheckquota Command for complete usage information.


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