IBM General Parallel File System for AIX: Administration and Programming Reference
Name
mmcheckquota - Checks file system user and group
quotas.
Synopsis
mmcheckquota [-v ] { Device
[Device ...] | -a | }
Or,
mmcheckquota {[-u UserQuotaFilename ]
| [-g GroupQuotaFileName ]} Device
Description
The mmcheckquota command serves two different purposes:
- Count inode and space usage in a file system by user and group, and write
the collected data into quota files. This command need only be issued
when quota information is lost due to node failure and users are denied disk
space that their quotas should allow.
- Replace either the user or group quota files, for the file system
designated by Device, thereby restoring the quota files for the file
system. These files must be contained in the root directory of
Device.
mmcheckquota is an I/O-intensive command and should be run when
the system load is light.
Parameters
- -a
- Checks all GPFS file systems in the nodeset from which the command is
issued.
- Device
- The device name of the file system. File system names need not be
fully qualified. fs0 is as acceptable as
/dev/fs0.
- -g UserQuotaFilename
- Replace the current group quota file with the file indicated.
When replacing quota files with the -g option, the file
system must be unmounted.
- -u UserQuotaFilename
- Replace the current user quota file with the file indicated.
When replacing quota files with the -u option, the file
system must be unmounted.
Options
- -v
- Reports discrepancies between calculated and recorded disk quotas.
Exit status
- 0
- Successful completion.
- 1
- A failure has occurred.
Security
You must have root authority to run the mmcheckquota
command.
GPFS must be running on the node from which the mmcheckquota
command is issued.
In an SP environment, verify the authentication method set for SP security
services:
- If your authentication method is set to compatibility, Kerberos
authentication is required. Issue the k4init command.
- If your authentication method is set to DCE, dce_login
authentication is required.
- If your authentication method is set to NONE/std, there must be an entry
in the /etc/sysctl.mmcmd.acl file on every node in
the nodeset for the root user at every other node in the nodeset.
For further information, see the latest IBM Parallel System
Support Programs for AIX: Administration Guide, IBM Parallel
System Support Programs for AIX: Command and Technical Reference,
and RS/6000: Planning Volume 2, Control Workstation and Software
Environment manuals at www.rs6000.ibm.com/resource/aix_resource/sp_books/pssp.
Search for information on sysctl.
Examples
- To check quotas for file system fs0, enter:
mmcheckquota fs0
The system displays information only if a problem is found.
- To check quotas for all file systems, enter:
mmcheckquota -a
The system displays information only if there is a problem found or if
there are no quotas installed for a file system:
fs2: no quota management installed
fs3: no quota management installed
See also
mmedquota Command
mmfsck Command
mmlsquota Command
mmquotaon Command
mmquotaoff Command
mmrepquota Command
Location
/usr/lpp/mmfs/bin
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]