IBM Books

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

mmdefquotaoff Command

Name

mmdefquotaoff - Deactivates default quota limit usage for a file system.

Synopsis

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

Description

The mmdefquotaoff command deactivates default quota limits for a file system. If default quota limits are deactivated, a new user or group to that file system will then have a default quota limit of 0, indicating no limit.

If neither the -u or the -g option is specified, mmdefquotaoff deactivates both user and group default quotas.

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 deactivated 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
Deactivates 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 deactivated. When used in combination with the -u option, only user quotas are deactivated.

-g
Specifies that default quotas for groups are to be deactivated.

-u
Specifies that default quotas for users are to be deactivated.

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

Exit status

0
Successful completion.

1
A failure has occurred.

Security

You must have root authority to run the mmdefquotaoff command.

GPFS must be running on the node from which the mmdefquotaoff 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 deactivate default user quotas on file system fs0, enter:
    mmdefquotaoff -u fs0
    
    To confirm the change, enter:
    mmlsquota -d -u
    
    The system displays information similar to:
                              Block Limits                    |             File Limits
    Filesystem type     KB   quota   limit   in_doubt   grace |  files   quota    limit in_doubt    grace
    fs0        USR     no default limits
     
    
  2. To deactivate default group quotas on all file systems, enter:
    mmdefquotaoff -g -a
    
    To confirm the change, enter:
    mmlsquota  -d -g
    
    The system displays information similar to:
                              Block Limits                    |             File Limits
    Filesystem type     KB   quota   limit   in_doubt   grace |  files   quota    limit in_doubt    grace
    fs0        GRP     no default limits
    fs1        GRP     no default limits
    fs2        GRP     no default limits
    

See also

mmcheckquota Command

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