I have a a disorder when it comes to my home lab. I always have to try something else, whether it’s the latest technology or just something “I’ve wanted to try”. This leads to a lot of reinstalling servers and networks. This is not all bad as I learn best by doing. This time I wanted to revamp my lab virtualization. Read more
Resizing my LVM based virtual disk
So I needed to upgrade my mail server but realized I only had 5GB of space left on the /opt partition and the upgrade complained about needing more than 5GB. Not sure why I didn’t size the whole virtual disk a little bigger in the first place. Also not sure why I didn’t set Zabbix to warn me when the disk space got that low. Hindsight and all of that. So following other’s recipes this is how I resized my LVM based virtual disk, and then subsequently resized the partitions within the VM.
KVM – Converting from QCOW2 to Raw
I needed to move some of my VMs from local storage to my shared iSCSI LVM volume. I figured it involved qemu-img so I went to the interwebs to find how others did it. Well, whaddya know, this recipe was perfect: http://bigmyx.blogspot.com/2012/03/convert-kvm-qcow2-file-to-lvm-disk.html
Thanks bygmyx!