Possible to use LVM partitions inside a vmbuilder created KVM virtual machine?

Posted by Tauren on Server Fault See other posts from Server Fault or by Tauren
Published on 2010-03-05T12:43:10Z Indexed on 2012/04/13 23:32 UTC
Read the original article Hit count: 359

I have an Ubuntu 9.10 host system with LVM partitions running KVM. I've been creating VMs using vmbuilder using LVM partitions for each VM instead of files for the VMs.

When I configure a VM using vmbuilder --part, the partitions in the file I'm using are created as regular partitions (sda1, sda2, etc.).

What I'd like to do is use LVM inside of the VM in case I need to resize the partitions at some point. But I don't see any options for doing that using the vmbuilder tool. It seems like this might be a common request to avoid using kpartx, etc.

Is there something I'm missing, or is this just not possible with vmbuilder?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about virtualization