Setting or Modifying Quota for a Volume
Describes how to set or modify a quota for a volume.
About this task
You can set hard and advisory quotas for a volume using the Control System, CLI, and REST API. Hard quota is the total space allocated for the volume irrespective of the location (cluster or tier) where the volume data is stored. When the threshold for the hard quota is reached, an alarm is raised and further writes are not allowed. Advisory quota does not prevent further writes when the threshold is reached, but an alarm is raised.
Setting Quota for a Volume Using the Control System
About this task
Setting Quota for a Volume in the Volumes Page
Procedure
Setting or Modifying Quotas for a Volume in the Volume Information Page
Procedure
Setting Quota for a Volume Using the CLI or the REST API
About this task
The basic command to set quota for a volume is:
maprcli volume create -name <volName> -path <mountPath> -advisoryquota <advisoryQuota> -quota <hardQuota>
maprcli volume modify -name <volName> -advisoryquota <advisoryQuota> -quota <hardQuota>
curl -X POST 'https://<hostname>:8443/rest/volume/create?name=<volName>&path=<mountPath>&advisoryquota=<advisoryQuota>"a=<hardQuota>' --user <username>:<password>curl -X POST 'https://<hostname>:8443/rest/volume/modify?name=<volName>&advisoryquota=<advisoryQuota>"a=<hardQuota>' --user <username>:<password>For the complete list of required and optional parameters, see
volume create and
volume modify.