Skip to content

Instantly share code, notes, and snippets.

@turkenh
Created October 23, 2018 07:49
Show Gist options
  • Save turkenh/bf361c71445e88d9d4315ac807cc6fa3 to your computer and use it in GitHub Desktop.
Save turkenh/bf361c71445e88d9d4315ac807cc6fa3 to your computer and use it in GitHub Desktop.
Attach and extend root volume - ubuntu 14.04
# Create and attach a disk with alias, say "ht"
vgdisplay # Get vgname, i.e. "packer-ubuntu14-vg"
vgextend packer-ubuntu14-vg /dev/ht
# for a disk of 256G size
lvextend -r -L+255G /dev/packer-ubuntu14-vg/root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment