Created
October 23, 2018 07:49
-
-
Save turkenh/bf361c71445e88d9d4315ac807cc6fa3 to your computer and use it in GitHub Desktop.
Attach and extend root volume - ubuntu 14.04
This file contains 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
# 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
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/logical_volume_manager_administration/vg_admin