Note that step 4 is potentially dangerous (specifically deleting and then re-creating the root partition), and setting the system up with LVM would have prevented me having to do it but if you are following this guide you are in the same situation and can't really benefit from could have/should have thoughts. :-) Anyway, everything worked fine when I was done.
- Shut down the guest (on host)
- virsh -connect qemu:///system
- shutdown your-guest-domain-name
- Expand virtual disk (on host)
- qemu-img resize guest-disk.img +30G
- Restart virtual machine (on host)
- virsh -connect qemu:///system
- start your-guest-domain-name
- Expand ext4 partition and filesystem on bare disk (on the guest)
- I followed this guide to the letter to resize the root os partition, reboot, and then expand the filesystem
No comments:
Post a Comment