Gcloud - reducing the size of a boot disk

Status
Not open for further replies.

Lee Cramman

Premier Customer
Advanced Certified
Joined
Jul 9, 2018
Messages
694
Reaction score
166
I realise this isn't strictly a 3CX issue, but I've struggled to find help elsewhere, and it is for a 3CX instance.

Does anyone have a strategy for reducing the size of a boot disk on Gcloud with the minimum amount of downtime?

We switched to archiving our call recording to a storage bucket, so now need a much smaller boot disk. I (foolishly) assumed there would be tools available (snapshot / clone) that would allow us to do this in Gcloud. There aren't...

The only reference in the Gcloud documentation is that you have to create a new disk, which isn't really helpful given the new disk will be blank.

1722237850909.png

It would be fairly easy if it weren't a boot disk.

Google / reddit has been pretty unhelpful.
 
Last edited:
This appears to have been made incredibly difficult by Google... can't imagine what motivates them to make it easy to grow disks but not to shrink them. Oh wait... $$$

It's almost going to be easier to deploy a new VM... and restore from backup.
 
This is actually the case for most cloud providers. They allow you to only extend a disk, not shrink.

It's almost going to be easier to deploy a new VM... and restore from backup.
That would probably save you time and frustration. Many times it is easier and faster to just start from scratch than trying to fix an issue.
 
Status
Not open for further replies.

Forum statistics

Threads
111,952
Messages
589,904
Members
164,845
Latest member
tdzski5