Skip to main content

volume quota resize

Contributors
Suggest changes

Resize quotas for volumes

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command resizes the quota limits for the quotas currently in effect for the specified volume. It creates a job to resize quotas. You can monitor the progress of the job by using the job show and job watch-progress commands.

Note Quotas must be activated before quota limits can be resized.

Parameters

-vserver <vserver name> - Vserver Name

This specifies the name of the Vserver on which the volume is located.

-volume <volume name> - Volume Name

This specifies the name of the volume on which you are resizing the quota limits and threshold.

[-foreground <true>] - Foreground Process

This optionally specifies whether the job created for resizing quotas runs as a foreground process. The default setting is false (that is, the operation runs in the background). When set to true , the command will not return until the job completes.

Examples

The following example resizes quotas on the volume named vol1 , which exists on Vserver vs0 .

cluster1::> volume quota resize -vserver vs0 -volume vol1
[Job 34] Job is queued: Quota RESIZE Operation on vserver vs0 volume vol1.

The following example uses a 7G-compatible command to resize quotas on the volume named vol1 which exists on Vserver vs0 .

cluster1::> vserver context vs0
vs0::> quota resize vol1
[Job 35] Job is queued: Quota RESIZE Operation on vserver vs0 volume vol1.