Enabling or Disabling Quotas for a File System

Enabling or disabling quotas for a file system affects all individual and default file system, user, and group quotas.

To set default quotas, see Setting Default Quotas for a File System. To create individual quotas, see Creating an Individual Quota for a File System.

Note

It might take up to one hour after quotas are initially enabled for a file system for enforcement to take place.
    1. On the File Systems list page, select the file system that you want to work with. If you need help finding the list page or the file system, see Listing File Systems.
    2. On the details page, to enable quotas, select Enable quota. If the file system has existing quotas, select Disable quota to disable the quotas.
    3. Confirm when prompted.
  • Use the oci fs file-system toggle-quota-rules command and required parameters to enable or disable quotas:

    oci fs file-system toggle-quota-rules --file-system-id <file_system_OCID> --are-quota-rules-enabled <boolean>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ToggleQuotaRules operation to enable or disable quotas.

    For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.