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
This is a resize of the actual EBS volume as opposed to adding additional disks using LVM | |
1. Follow the steps here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/storage_expand_partition.html | |
2. Use the instructions for gdisk further down the page to set the new partition table, not gparted or fdisk. | |
3. Reboot the instance once the partition table is written. | |
4. On the instance, execute: | |
sudo pvresize /dev/xvda2 (or whatever the device name is) | |
sudo pvdisplay | |