Change Fileset operation

Use this operation to change the minimum and maximum quota size for a specified file set.

About this task

This operation runs the following IBM Storage Scale command:
su - gpfsprod -c 'sudo /usr/lpp/mmfs/bin/mmsetquota -j <Fileset Name> -s <Minimum Quota Size> -h <Maximum Quota Size> <File System Name>
For more information about IBM Storage Scale quotas, see Managing GPFS quotas.
Note: By default, the file set minimum and maximum limits (or soft and hard quota) are not enforced for the root user. If you want to have the root user follow the specified limits, you need to update the IBM Storage Scale cluster to allow that. Run this command on the IBM Storage Scale client cluster where you want to enforce the quota for the root user:
su - gpfsprod -c '/usr/lpp/mmfs/bin/mmchconfig enforceFilesetQuotaOnRoot=yes -i’
This property applies only to the IBM Storage Scale cluster where the command is executed and affects only data that is written by the root user from this cluster. Each IBM Storage Scale client instance configures a separate IBM Storage Scale client cluster for each virtual machine. If you want to enforce the file set quota on root for other IBM Storage Scale client instances, you need to run this command on each of the IBM Storage Scale client clusters. For more information, see mmchconfig command. Before you change the IBM Storage Scale server cluster to enforce the file set quotas on the root user, make sure that this change does not affect any of the cluster scenarios. Keep in mind that if the quota is enforced for the root user, any process that is executed as a root user that would temporarily write data over the allowed threshold will now fail.
You must manage the storage quota to ensure that the specified storage limit does not exceed the size of the file system.

Procedure

  1. Expand the Administration section of the GPFS_Manager operations.
  2. Expand the Change Fileset node.
  3. In the File System Name field, specify the name of the file system to change.
    You can determine the IBM Storage Scale file system name by running the Get Cluster Status operation.
  4. In the Fileset Name field, specify the name of the file set to change.
  5. In the Minimum Quota Size field, specify the minimum quota size.
    The size can be specified in kilobytes, megabytes, or gigabytes by adding K, M or G as a suffix. Enter 0 as the value for no minimum limit. Example of valid entries: 20M, 1024K, 1G, 0M.
  6. In the Maximum Quota Size field, specify the maximum quota size.
    The size can be specified in kilobytes, megabytes, or gigabytes by adding K, M or G as a suffix. Enter 0 as the value for no maximum limit. Example of valid entries: 20M, 1024K, 1G, 0M.
  7. Click Submit.
  8. Click Confirm when asked to validate your request.

Results

When you run this operation, a new entry is displayed under the Operation Execution Results list, with the name Change Fileset. When completed, the status of the operation changes from Active to Done, and the Return Value column displays a link to a log file with the result of the operation. Verify that there are no errors in this log.