Manage quota rules

This page provides instructions for how to manage your quota rules.

Quota rules enable you to limit the storage space within a volume for specific users and groups.

You can create four types of quota rules on a NetApp Volumes volume:

  • Individual user quota: applies a storage limit to a specific user accessing a volume.

  • Individual group quota: applies a storage limit for all users within a specific group on a volume.

  • Default user quota: when a default user quota is applied to a volume, it automatically applies a storage limit for all users who access that volume.

  • Default group quota: quota limits are automatically applied to all users within all groups accessing a volume with a default group quota.

For more information about instructions to manage your quota rules, see the following:

Create a quota rule

The following sections provide instructions for how to Create an individual user or group quota rule , Create a default user quota rule , and Create a default group quota rule .

Create an individual user or group quota rule

Use the following instructions to create an individual user or group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to add a quota rule to.

  4. Click the Quota rulestab.

  5. Click Create quota rule.

  6. The Create a quota rulepage appears. Under Quota rule details, complete the following steps:

    1. Enter a name for the quota rule in the Namefield. The name must be unique for each volume.

    2. Optional: enter a description for the quota rule in the Descriptionfield.

  7. Select the quota rule type.

    • Individual user quota

    • Individual group quota

  8. Specify the target UID, or SID, or GID for the user or group in the Targetfield.

  9. Enter the usage limit for users or groups in MiB in the Limitfield.

  10. Optional: under the Labelssection, click Add labelto enter relevant labels for your quota rule.

  11. Click Create.

    The Quota rulestab displays your new quota rule.

gcloud

Create an individual user or group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
create  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--type = 
 RULE_TYPE 
  
 \ 
  
--target = 
 TARGET_ID 
  
 \ 
  
--disk-limit-mib = 
 LIMIT 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

  • RULE_TYPE : the quota rule type: INDIVIDUAL_USER_QUOTA or INDIVIDUAL_GROUP_QUOTA.

  • TARGET_ID : the UID, or SID, or GID number.

  • LIMIT : the usage limit for users or groups in MiB.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Create a default user quota rule

Use the following instructions to create a default user quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to add a quota rule to.

  4. Click the Quota rulestab.

  5. In the Default user quotapane, click Create quota rule.

  6. The Create a default user quota rulepage appears. Under Quota rule details, complete the following steps:

    1. Enter a name for the quota rule in the Namefield. The name must be unique for each volume.

    2. Optional: enter a description for the quota rule in the Descriptionfield.

  7. Enter the usage limit for users in MiB in the Limitfield.

  8. Optional: under the Labelssection, click Add labelto enter relevant labels for your quota rule.

  9. Click Create.

    The Default user quotapane displays your new quota rule.

gcloud

Create a default user quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
create  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--type = 
 RULE_TYPE 
  
 \ 
  
--disk-limit-mib = 
 LIMIT 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

  • RULE_TYPE : the quota rule type: DEFAULT_USER_QUOTA.

  • LIMIT : the usage limit for users in MiB.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Create a default group quota rule

Use the following instructions to create a default group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to add a quota rule to.

  4. Click the Quota rulestab.

  5. In the Default group quotapane, click Create quota rule.

  6. The Create a default group quota rulepage appears. Under Quota rule details, complete the following steps:

    1. Enter a name for the quota rule in the Namefield. The name must be unique for each volume.

    2. Optional: enter a description for the quota rule in the Descriptionfield.

  7. Enter the usage limit for groups in MiB in the Limitfield.

  8. Optional: under the Labelssection, click Add labelto enter relevant labels for your quota rule.

  9. Click Create.

    The Default group quotapane displays your new quota rule.

gcloud

Create a default group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
create  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--type = 
 RULE_TYPE 
  
 \ 
  
--disk-limit-mib = 
 LIMIT 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

  • RULE_TYPE : the quota rule type: DEFAULT_GROUP_QUOTA.

  • LIMIT : the usage limit for users in MiB.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Edit a quota rule

The following sections provide instructions for how to Edit an individual user or group quota rule and Edit a default user or group quota rule .

Edit an individual user or group quota rule

Use the following instructions to edit an individual user or group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to edit a quota rule for.

  4. Click the Quota rulestab.

  5. From the list of quota rules, select the quota rule you want to edit.

  6. Click Show moreicon on the quota rule and click Edit.

  7. Make the required changes to the quota rule.

  8. Click Save.

gcloud

Update an individual user or group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
update  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--disk-limit-mib = 
 LIMIT 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

  • LIMIT : the usage limit for users or groups in MiB.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Edit a default user or group quota rule

Use the following instructions to edit a default user or group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to edit a quota rule for.

  4. Click the Quota rulestab.

  5. Click Show moreicon next to the Default user quotaor the Default group quotapane and click Edit.

  6. Make the required changes to the quota rule.

  7. Click Save.

gcloud

Update a default user or group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
update  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--disk-limit-mib = 
 LIMIT 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

  • LIMIT : the usage limit for users or groups in MiB.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Delete a quota rule

The following sections provide instructions for how to Delete an individual user or group quota rule and Delete a default user or group quota rule .

Delete an individual user or group quota rule

Use the following instructions to delete an individual user or group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to delete a quota rule from.

  4. Click the Quota rulestab.

  5. From the list of quota rules, select the quota rule you want to delete.

  6. Click Show moreicon on the quota rule and click Delete.

  7. A confirmation dialog appears. Read through the warnings.

  8. Enter the name of the quota rule in the Quota rule namefield.

  9. Click Delete quota rule.

gcloud

Delete an individual user or group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
delete  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

Delete a default user or group quota rule

Use the following instructions to delete a default user or group quota rule using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumespage, select the volume you want to delete a quota rule from.

  4. Click the Quota rulestab.

  5. From the list of quota rules, select the quota rule you want to delete.

  6. Click Show moreicon next to the Default user quotaor the Default group quotapane and click Delete.

  7. A confirmation dialog appears. Read through the warnings.

  8. Enter the name of the quota rule in the Quota rule namefield.

  9. Click Delete quota rule.

gcloud

Delete a default user or group quota rule:

  
gcloud  
netapp  
volumes  
quota-rules  
delete  
 RULE_NAME 
  
 \ 
  
--volume = 
 VOLUME_NAME 
  
 \ 
  
--project = 
 PROJECT_ID 
  
 \ 
  
--location = 
 LOCATION 

Replace the following information:

  • RULE_NAME : the name of the rule.

  • VOLUME_NAME : the name of the volume.

  • PROJECT_ID : the name of the project the volume is in.

  • LOCATION : the location of the volume.

For more information about additional optional flags, see see Google Cloud SDK documentation on quota-rules .

What's next

Manage auto-tiering .

Create a Mobile Website
View Site in Mobile | Classic
Share by: