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.
- 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.
- 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.
- 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.
No comments:
Post a Comment