Created
June 28, 2016 10:19
-
-
Save lsowen/57cdf24174fb0c054c1ea71cf4dd71f3 to your computer and use it in GitHub Desktop.
Quick notes on size a KVM guest (which uses LVM) up
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
On supervisor: | |
lvextend -L50G /dev/vg_kvmhost01/test-01.img | |
virsh qemu-monitor-command util-02 --hmp "info block" | |
virsh qemu-monitor-command util-02 --hmp "block_resize drive-virtio-disk0 50G" | |
On VM: | |
http://unix.stackexchange.com/a/42910 | |
reboot | |
pvresize /dev/vda2 | |
lvresize --resizefs -L+10G /dev/VG/lv_root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment