PDA

View Full Version : How create a KVM with lvm storage instead of qcow2 or raw?



mmenaz
07-24-2010, 12:13 AM
Hi, I'm not found in lvm2, but reading about kvm storage alternatives, I've found posts that state that you can use qcow2, raw or "lvm".
I've no idea about how use "lvm"!
Do I have to add a HD to my test proxmox machine, manually use pvcreate/vgcreate and finally create "n" Logical Volumes of the size of the disk space I want to assign to the KVM VMs? How can I tell web interface to use "lvm-lv" instead of "raw"?
Seems so obvious that no one cares to explain in details... but I can't figure it out.
Thanks in advance

tom
07-24-2010, 09:45 AM
see http://pve.proxmox.com/wiki/Storage_Model

mmenaz
07-24-2010, 12:20 PM
Well, that document was not clear to me at all! probably seems clear only to the ones that already know what they are talking about :)
I've experimented further, and found the way, so I extended the Storage_Model wiki page explanation about this subject (LVM Groups with Local Backing). Please revise it.
I've also renamed usb stick device from sdl1 to sdb1 for better readability.
Thanks a lot for Proxmox!