Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud How to reduce disk size?

I have an SDD disk of 200GB in Google Cloud, that I want to reduce to 50GB. Google Cloud Console, and per documentation, only allows me to increase disk size.

What solutions do I have to decrease disk size?

like image 975
Vasco Andrade Silva Avatar asked Jun 07 '18 00:06

Vasco Andrade Silva


People also ask

How do I check disk usage in GCP?

In the Google Cloud console, go to the Cloud Monitoring > Metrics Explorer page. In the Resource and metric section, click Select a metric , then select VM Instance ( gce_instance ). Select the Instance active metric category list, and then select Disk read operations ( instance/disk/read_ops_count ). Click Apply.

What is persistent disk in Google cloud?

Persistent disks are durable network storage devices that your instances can access like physical disks in a desktop or a server. The data on each persistent disk is distributed across several physical disks.


1 Answers

Only increasing disk size is supported. Disks can be resized regardless of whether they are attached.

Read the following blog post for a solution to your problem. Google Compute Engine: Reducing the Size of a Persistent Disk

like image 126
Thisara Avatar answered Nov 15 '22 17:11

Thisara