Created
June 23, 2017 13:23
-
-
Save reflectiondm/0819296c1587bee03719d1d624eed89c to your computer and use it in GitHub Desktop.
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
parted -l | |
echo 1 > /sys/class/scsi_device/2\:0\:0\:0/device/rescan | |
parted -l | |
parted /dev/sda resizepart 2 156GB | |
parted -l | |
parted /dev/sda mkpart logical 134GB 156GB | |
parted -l | |
vgextend host-vg /dev/sda8 | |
vgdisplay | |
lvdisplay | |
lvextend -l +100%FREE /dev/host-vg/root | |
lvdisplay | |
resize2fs /dev/host-vg/root | |
df -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment