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.
It might take up to one hour after quotas are initially enabled for a file system for enforcement to take place.
- Open the navigation menu and select Storage. Under File Storage, select File Systems.
- In the List scope section, under Compartment, select a compartment.
- Select the name of the file system for which you want to enable or disable quotas.
- On the file system details page, to enable quotas, select Enable quota. If the file system has existing quotas, select Disable quota to disable the quotas. 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.