Taken from GPFS Administration and Programming Reference – Enabling and disabling GPFS quota management
To enable GPFS quota management on an existing GPFS file system
- Unmount the file system everywhere.
- Run the mmchfs -Q yes command. This command automatically activates quota enforcement whenever the file system is mounted.
- Remount the file system, activating the new quota files. All subsequent mounts follow the new quota setting.
- Compile inode and disk block statistics using the mmcheckquota command. The values obtained can be used to establish realistic quota values when issuing the mmedquota command.
- Issue the mmedquota command to explicitly set quota values for users, groups, or filesets.
Once GPFS quota management has been enabled, you may establish quota values by:
- Setting default quotas for all new users, groups of users, or filesets.
- Explicitly establishing or changing quotas for users, groups of users, or filesets.
- Using the gpfs_quotactl() subroutine.
To disable quota management:
- Unmount the file system everywhere.
- Run the mmchfs -Q no command.
- Remount the file system, deactivating the quota files. All subsequent mounts obey the new quota setting.
To enable GPFS quota management on a new GPFS file system:
- Run mmcrfs -Q yes command. This option automatically activates quota enforcement whenever the file system is mounted.
- Mount the file system.
- Issue the mmedquota command to explicitly set quota values for users, groups, or filesets. See Explicitly establishing and changing quotas.