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

mmenaz

Renowned Member
Jun 25, 2009
835
24
83
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!