Last active
February 5, 2024 17:39
-
-
Save jango-blockchained/10885fa4d2ca5f2af2e6b7d44cd09413 to your computer and use it in GitHub Desktop.
Expand your partition, after an upgrade of your Contabo VPS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install deps | |
sudo apt update -y | |
sudo apt install cloud-utils -y | |
# Device | |
mount | grep ' / ' | |
# Grow & Resize | |
sudo growpart /dev/sda 3 | |
sudo resize2fs /dev/sda3 | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment