IBM Books

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

mmquotaon Command

Name

mmquotaon - Activates quota limit checking.

Synopsis

mmquotaon [-u | -g] [-v] {Device[ Device ... ] | -a}

Description

If neither the -u nor the -g option is specified, mmquotaon activates both user and group quotas.

If the -a option is not used, Device must be the last parameter specified.

Parameters

Device[ Device ... ]
The device name of the file system to have quotas activated.

If more than one file system is listed, the names should be delimited by a space. File system names need not be fully qualified. fs0 is just as acceptable as /dev/fs0.

Options

-a
Activates all GPFS file system quotas in the nodeset from which the command is issued. When used in combination with the -g option, only group quotas are activated. When used in combination with the -u option, only user quotas are activated.

-g
Specifies that only group quotas are to be activated.

-u
Specifies that only user quotas are to be activated.

-v
Prints a message for each file system in which quotas are activated.

Exit status

0
Successful completion.

1
A failure has occurred.

Security

You must have root authority to run the mmquotaon command.

GPFS must be running on the node from which the mmquotaon command is issued.

In an SP environment, verify the authentication method set for SP security services:

  1. If your authentication method is set to compatibility, Kerberos authentication is required. Issue the k4init command.
  2. If your authentication method is set to DCE, dce_login authentication is required.
  3. 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

  1. To activate user quotas on file system fs0, enter:
    mmquotaon -u fs0
    
    To confirm the change, enter:
    mmlsfs fs0 -Q
    
    The system displays information similar to:
    flag value          description
    ---- -------------- -----------------------------------------------------
     -Q  user           Quotas enforced
     
    
  2. To activate group quotas on all file systems, enter:
    mmquotaon -g -a
    
    To confirm the change, individually for each file system, enter:
    mmlsfs  fs1 -Q
    
    The system displays information similar to:
    flag value          description
    ---- -------------- -----------------------------------------------------
     -Q  group          Quotas enforced
     
    
  3. To activate both user and group quotas on file system fs2, enter:
    mmquotaon fs2
    
    To confirm the change, enter:
    mmlsfs  fs2 -Q
    
    The system displays information similar to:
    flag value          description
    ---- -------------- -----------------------------------------------------
     -Q  user;group     Quotas enforced
     
    

See also

mmcheckquota Command

mmdefedquota Command

mmdefquotaoff Command

mmdefquotaon Command

mmedquota Command

mmlsquota Command

mmquotaoff Command

mmrepquota Command

Location

/usr/lpp/mmfs/bin


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