Managing storage pools

You need to create a storage pool before creating a volume of the CVS service type.

For more information, see Storage pools.

Create a storage pool

  1. In the console, go to the Storage pools page.
  2. Click Create.
  3. In the Create storage pool dialog, enter the information indicated in the following table.

    Required fields are marked with an asterisk (*).

    Field Description
    Service Type* CVS is selected and can't be changed.
    Service Level* Select the level of availability for the pool.
    Region* Google Cloud region for your pool. For more information about region selection, see Best practices for Compute Engine region selection.
    Zone* Google Cloud zone for your pool.
    Zone Redundancy* For zone-redundant pools, choose the failover zone.
    Pool Name* Choose a name. The name must be unique within the project.
    Pool Capacity* Initial size of the pool, between 1,024 GiB and 200 TiB.
    Pool Label Add a label to the pool (for example, billing).
  4. In the Network Details section, specify the following:

    • VPC Network Name: Select the network from which the volume will be accessible.

    • If this is the first time that you're setting up VPC network peering for Cloud Volumes Service, you receive the following prompt indicating that you need to set up network peering:

      Network peering not set up

      Click the View commands how to set up network peering button. To configure VPC network peering, follow the steps in the dialog that appears.

      In the dialog, you can optionally select Use Custom Address Range. This option lets you, for example, specify a CIDR range that doesn't overlap with your on-premises CIDR blocks. To allow for future flexibility, choose a larger CIDR block size (prefix range).

  5. Click Save to create the storage pool.

    Creating the first storage pool in a region can take up to 15 minutes as the resources required for the pool are provisioned. During this time, the storage pool shows that it is in the creating state.

  6. The new storage pool appears in the Storage Pools list.

Changing storage pool settings

After a storage pool is created, some settings can be changed, as described in the following sections.

Cross-zone move

Zone-redundant pools provide a synchronous copy of the data in two zones. Although the data is located in two zones, Cloud Volumes Service serves NFS and SMB volumes only from the current zone. The failover zone acts as fallback in case the current zone becomes unavailable. You can use the Initiate cross-zone move button to switch the roles of the zones, so the failover zone becomes the current zone, and the current zone becomes the failover zone. After the move is finished, volumes are served from the other zone. The new zone shows immediately on the Storage Pools page, but the old zone can show for up to 10 minutes on the Volumes page.

Storage pool size

The size of a storage pool can be expanded in 1 GiB increments up to 200 TiB. A pool cannot decrease in size.

Volumes in a pool can increase and decrease in size within the pool and volume limits.

Pool label

You can modify the pool label after the storage pool is created.

Delete a storage pool

You are charged for the capacity that is allocated to your self-managed and managed storage pools. You can delete storage pools to control charges.

Delete a self-managed storage pool

To delete a self-managed storage pool, all volumes contained in that pool must be deleted.

  1. Go to the Storage Pools page to see the number of volumes in the storage pool that you want to delete.
  2. Go to the Volumes page and filter by storage pool to see all of the volumes in the pool.
  3. Delete each volume in the storage pool.
  4. Go back to the Storage Pools page and delete the storage pool.

Delete a managed storage pool

To delete a managed storage pool, you delete the single volume in the storage pool, which causes the managed storage pool to be deleted automatically.

  1. Go to the Storage Pools page to see the volume in the managed storage pool.
  2. Go to the Volumes page and delete the volume in the managed storage pool.