This shows you the differences between two versions of the page.
linux:vm:vmresize [2018/06/02 00:14] clee231 created |
linux:vm:vmresize [2021/05/02 21:36] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VM Image Resizing ====== | ||
- | |||
- | One of the many common tasks that a SysAdmin will perform is to resize a VM once the base image is applied. | ||
- | Here are the steps that you should take to perform the resize successfully on the ACM Hypervisors (libvirt-based). | ||
- | |||
- | ===== QCOW2 ===== | ||
- | |||
- | (Note that if the image contains a snapshot, then the image cannot be resized) | ||
- | |||
- | - ''qemu-img resize <image file name> [+-]<space to allocate>G'' | ||
- | - Boot into the VM and use parted to resizepart. | ||
- | <WRAP left round important 65%> | ||
- | TODO: Page Stub. Finish this page! | ||
- | </WRAP> | ||
- | |||
- | |||