How to setup VM in KVM? Qcow or LVM etc.

Posted by JohnAdams on Server Fault See other posts from Server Fault or by JohnAdams
Published on 2010-05-20T11:36:13Z Indexed on 2010/05/20 11:40 UTC
Read the original article Hit count: 220

Filed under:

Finally, after quite a bit of this vs that, I have chosen to virtualize a couple of my servers with KVM. I did do a test setup as well, but I have a few questions about setting VM's in KVM. Would appreciate pointers.

  1. What is the best storage to use - Qcow2 or LVM? I like the fact that I can copy the VM file easily with a Qcow2 but what about LVM, how do I take a backup or make copy on a development server to play with? I know I can clone a LVM, but how do I bring to my development server?

  2. How do I setup the guest partitioning? For example, when setting up Ubuntu inside Ubuntu, do I choose LVM for that VM or regular fdisk partitioning? Can I increase the partition size then later, if I need a bigger disk?

© Server Fault or respective owner

Related posts about kvm