Created
July 7, 2016 21:31
-
-
Save kjlape/823cc6498a33ffba4e4707ed1caa786e to your computer and use it in GitHub Desktop.
Expand the size of an EBS volume attached to a linux EC2 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
| # Setup | |
| # 1) create a new volume based on a snapshot of your old volume | |
| # 2) attach the new volume to your ec2 instance | |
| # look at attached volumes | |
| fdisk -l | |
| # resize the volume | |
| resize2fs /dev/xvdf | |
| mount /dev/xvdf /mnt/moar_filez |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment