Created
December 28, 2019 19:27
-
-
Save akumbhani66/91b0261b1935c75723cfd4dec7af2e72 to your computer and use it in GitHub Desktop.
Mount an attached elb to disk.
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
lsblk // list elbs | |
sudo file -s /dev/xvda* // check data in elb | |
sudo df -h // check current space | |
sudo growpart /dev/xvda 1 // Add volume to current disk | |
sudo lsblk // list adain elbs | |
sudo resize2fs /dev/xvda1 // Resize current disk | |
sudo df -h // check current disk. Space should be increased. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment