Last active
July 19, 2022 17:48
-
-
Save arbabnazar/cac28f6f8264aff60a84632cb68ec859 to your computer and use it in GitHub Desktop.
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
let’s list block devices attached to our box: | |
lsblk | |
# install "cloud-guest-utils" if it is not installed already | |
apt install cloud-guest-utils | |
# resize partition | |
growpart /dev/xvda 1 OR growpart /dev/nvme0n1 1 | |
# resize filesystem | |
resize2fs /dev/xvda1 OR resize2fs /dev/nvme0n1p1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment