Resource limits and maxfiles limits

Last reviewed 2023-11-19 UTC

This section describes resource limits for Cloud Volumes Service.

Capacity limits

The Cloud Volumes Service CVS-Performance service type uses capacity limits to manage the capacity available to customers to avoid unexpected usage increases. By default, each customer project can allocate up to 25 TiB of capacity for volumes in each region that it uses. Capacity limits can be increased upon request. To request an increase, contact Cloud Customer Care. You do not manage capacity limits on the Quotas page for your project.

Resource Default limit for CVS Default limit for CVS-Performance
Maximum capacity per project per region Not supported 25 TiB

Storage pool limits

Resource Default limit for CVS Default limit for CVS-Performance
Maximum number of pools per region 100 Not supported
Minimum pool size 1 TiB Not supported
Maximum pool size 200 TiB Not supported
Maximum number of labels per pool 1 1

Networking limits

Resource Default limit for CVS Default limit for CVS-Performance
Number of subnets delegated to Cloud Volumes Service for Google Cloud per VPC network 1 1
Number of VPC networks per project 5 5

Volume limits

Resource Default limit for CVS Default limit for CVS-Performance
Maximum number of volumes per project 50 per storage pool 100 per region
Minimum size of a single volume 1 GiB 1024 GiB
Maximum size of a single volume 100 TiB 100 TiB
Number of snapshots per volume 255 255
Maximum size of a single file 16 TiB 16 TiB
Maximum size of a single directory 2.8 million files 3.4 million files
Maximum number of files (maxfiles) per volume. For more information, refer to Maxfiles limit. 21.2 million 100 million
Maximum filename length 255 characters 255 characters
Maximum number of NFS export rules per volume 5 5
Maximum length of an NFS export rule 4,096 characters 4,096 characters
Maximum number of labels 1 Not supported

Backup limits

Resource Default limit for CVS Default limit for CVS-Performance
Number of backups per volume 32 Not supported

Volume replication limits

Resource Default limit for CVS Default limit for CVS-Performance
Number of replication relationships per project per region Not supported 5

Maxfiles limit

Cloud volumes have a limit called maxfiles. The maxfiles limit is the number of files that a volume can contain. The maxfiles limit for a volume is indexed based on the size (quota) of the volume.

CVS service type maxfiles limit

The maxfiles limit for a volume increases or decreases at the rate of 32,768 files per GiB of provisioned volume size. The maximum maxfiles limit of 21.2 million is reached at a provisioned volume size of approximately 650 GiB.

CVS-Performance service type maxfiles limit

The maxfiles limit for a volume of the CVS-Performance service type increases or decreases at the rate of 20 million files per TiB of provisioned volume size.

The service dynamically adjusts the maxfiles limit for a volume based on its provisioned size. For example, a volume configured initially with a size of 1 TiB would have a maxfiles limit of 20 million. Subsequent changes to the size of the volume would result in an automatic readjustment of the maxfiles limit based on the following rules:

Volume size (quota) Automatic readjustment of the maxfiles limit
< 1 TiB 20 million
≥ 1 TiB but < 2 TiB 40 million
≥ 2 TiB but < 3 TiB 60 million
≥ 3 TiB but < 4 TiB 80 million
≥ 4 TiB 100 million

Increasing limits

If you need to do any of the following, contact Cloud Customer Care:

  • Increase the capacity limit

  • Increase the maxfiles limit beyond 100 million for any volume size (only for volumes of the CVS-Performance service type). Every additional 100 million maxfiles requires an additional 4 TiB of capacity. For example, a 300 million maxfiles limit requires at least 12 TiB of additional capacity.

  • Increase the ILB forwarding rules limit if you receive a "Not enough ILB resources" error

  • Increase the number of replication relationships

What's next