Manage storage pools

Last reviewed 2023-03-14 UTC

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 Google Cloud 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.
    Enable global access to Active Directory Required if you are connecting to Active Directory and some of the Domain Controllers are outside of your pool's region. Reduces the maximum number of pools in the region.
    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 no VPCs appear, see the Cloud Volumes Service FAQ for how to view VPCs in the Cloud Volumes Service user interface.

    • 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.

Change 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.

Global access to Active Directory

Global access to Active Directory allows volumes in a storage pool to use Active Directory domain controllers outside the pool's region. You can modify this setting after the storage pool is created.

Considerations

  • Changing the setting can cause I/O disruptions of up to several minutes for volumes already using Active Directory.
  • Enabling the setting reduces the number of maximum storage pools per region to 50%. See Storage pool limits.
  • Disabling the setting might disrupt access to volumes which require an Active Directory connection. Before disabling, make sure Active Directory domain controllers in the same region as the pool can be reached and domain controllers are configured correctly. Refer to Manage DC selection using AD sites.

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.

What's next