LVM: add disk to GCE/AWS

1
2
3
4
5
6
Create new volume
Attach volume to instance
pvcreate /dev/sdX
vgextend <VG_name> /dev/sdX
lvextend -l +100%FREE /dev/<VG_name>/<LV_name>
resize2fs /dev/<VG_name>/<LV_name>