libvirt:libvirt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
libvirt:libvirt [2016/09/15 15:51] – deva | libvirt:libvirt [2016/09/15 16:01] – deva | ||
---|---|---|---|
Line 2: | Line 2: | ||
=====Resize qcov2 image===== | =====Resize qcov2 image===== | ||
< | < | ||
+ | # Shut down vm | ||
+ | |||
# On host (to grow 8GB): | # On host (to grow 8GB): | ||
qemu-img resize / | qemu-img resize / | ||
- | # reboot | + | # Start vm |
# Assuming lvm logical volume inside extended partition... | # Assuming lvm logical volume inside extended partition... | ||
- | # fdisk -l should now show the new size. | + | # fdisk -l should now show the new disk size. |
- | pvresize / | + | # run parted |
- | pvresize /dev/sdXM # on lvm partition | + | (parted) resizepart 2 |
+ | 16GB | ||
+ | (parted) resizepart 5 | ||
+ | 16GB | ||
+ | (parted) quit | ||
# extend lvm | # extend lvm |
libvirt/libvirt.txt · Last modified: 2016/09/15 21:18 by deva