Last active
June 30, 2023 11:57
-
-
Save tstrohmeier/589cecbff9b9af4b75f2f3e872be14b2 to your computer and use it in GitHub Desktop.
Resize Ubuntu disk on EC2 after changing EBS volume size
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
#https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime | |
growpart /dev/xvda 1 # Grows the partition; note the space | |
resize2fs /dev/xvda1 # Grows the filesystem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment