Last active
October 7, 2021 12:48
-
-
Save mamedshahmaliyev/222199aefef0da93cae0bd2eb1b7e82e to your computer and use it in GitHub Desktop.
aws extend centos free tier volume
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
yum install cloud-utils-growpart -y | |
df -hT | |
lsblk | |
sudo growpart /dev/xvda 1 | |
sudo xfs_growfs -d / | |
partprobe # for system recognition | |
pvresize /dev/xvda 1 | |
lvextend -r centos/root /dev/xvda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment