How create a KVM with lvm storage instead of qcow2 or raw?

mmenaz

Renowned Member
Jun 25, 2009
838
29
93
Northern east Italy
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
 
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!