Last active
December 12, 2019 03:05
-
-
Save aleofreddi/adc3f1c5049266d24729c0c8bb26a7f0 to your computer and use it in GitHub Desktop.
extend a gpt partition after disk resize
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
sgdisk /dev/vda -e && | |
sgdisk -d 1 /dev/vda && | |
sgdisk -N 1 /dev/vda && | |
partprobe && | |
resize2fs /dev/vda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment