IBM Books

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

mmdefquotaon Command

Name

mmdefquotaon - Activates default quota limit usage for a file system.

Synopsis

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

Description

The mmdefquotaon command activates default quota limits for a file system. If default quota limits are not applied, a new user or group to that file system will have a quota limit of 0, indicating no limit.

If neither the -u or the -g option is specified, mmdefquotaon activates both user and group default quota limits.

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

Parameters

Device
The device name of the file system to have default quota values activated for.

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 default quotas for all GPFS file system 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.

-d
Specifies that existing users or groups with no quota limits established will have the default quota value established when the mmdefedquota command is issued.

If this option is not chosen, existing quota entries will remain in effect and are not governed by the default quota rules.

-g
Specifies that only a default quota value for group quotas are to be activated.

-u
Specifies that only a default quota value for users are to be activated.

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

Exit status

0
Successful completion.

1
A failure has occurred.

Security

You must have root authority to run the mmdefquotaon command.

GPFS must be running on the node from which the mmdefquotaon 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 default user quotas on file system fs0, enter:
    mmdefquotaon -u fs0
    
    To confirm the change, enter:
    mmlsfs fs0 -Q
    
    The system displays information similar to:
    flag value          description
    ---- -------------- -----------------------------------------------------
     -Q  user           Quotas enforced
         user           Default quotas enabled 
     
    
  2. To activate default group quotas on all file systems in the nodeset, enter:
    mmdefquotaon -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
         group          Default quotas enabled
    
  3. To activate both user and group default quotas on file system fs2, enter:
    mmdefquotaon fs2
    
    To confirm the change, enter:
    mmlsfs  fs2 -Q
    
    The system displays information similar to:
    flag value          description
    ---- -------------- -----------------------------------------------------
     -Q  user;group     Quotas enforced
         user;group     Default quotas enabled 
    

See also

mmcheckquota Command

mmdefedquota Command

mmdefquotaoff 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 ]