Skip to content

Instantly share code, notes, and snippets.

@bvolpato
Last active June 27, 2022 22:27
Show Gist options
  • Save bvolpato/2f04c65d5740acc2bee617898b2fd291 to your computer and use it in GitHub Desktop.
Save bvolpato/2f04c65d5740acc2bee617898b2fd291 to your computer and use it in GitHub Desktop.
Resize GCP disk
sudo /usr/share/cloud/resize-stateful
sudo growpart /dev/sda 1 && sudo resize2fs /dev/sda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment