Created
March 22, 2020 09:12
-
-
Save lsemenenko/b080ea195de92869449cd3f241b5ae7e to your computer and use it in GitHub Desktop.
Resize filesystem on live instance
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
sudo file -s /dev/xvd* | |
/dev/xvda: DOS/MBR boot sector | |
/dev/xvda1: Linux rev 1.0 ext4 filesystem data, UUID=651cda91-e465-4685-b697-67aa07181279, volume name "cloudimg-rootfs" (needs journal recovery) (extents) (64bit) (large files) (huge files) | |
sudo growpart /dev/xvda 1 | |
sudo resize2fs /dev/xvda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment