IBM Books

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

Activating quota enforcement

Quota limit checking can be activated for users, groups, or both. You can have quotas activated automatically whenever the file system is mounted by specifying the quota option ( -Q yes) when creating (mmcrfs -Q yes) or changing (mmchfs -Q yes) a GPFS file system. When creating a file system, the default is to not have quotas activated, so you must specify this option if you want quotas activated. If you are changing a file system, you must remount the file system after issuing the mmchfs -Q yes command to activate quotas.

The mmquotaon command is used to turn quotas back on if it had been deactivated by issuing the mmquotaoff command. Specify the file system name, and whether user quotas or group quotas are to be activated. If you want both user and group quotas activated, specify only the file system name.

For example, to activate user quotas on the file system fs1, enter:

mmquotaon -u fs1

To confirm the change, enter:

mmlsfs fs1 -Q

The system displays output similar to:

flag value          description
---- -------------- -----------------------------------------------------
 -Q  user           Quotas enforced
 

See the mmquotaon Command and the mmlsfs Command for complete usage information.


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