Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does Proxmox VE Support LVM as block storage for KVM guests to avoid the overhead of going through the filesystem layer on the host system ?

share|improve this question

2 Answers 2

Yes.

Go into Datacenter > Storage > Add > LVM Group, specify an existing LVM volume group, and you are good to go.

New "disks" will be created as logical volumes on the LVM group you've specified.

share|improve this answer
    
and how does that work under shared LUNs? scsi-3 reservations? –  dyasny Oct 31 '12 at 14:59
    
I would suspect that if you wanted to use shared LUNs, then you would need a clustered file system such as OCFS2, or CLVM (clustered LVM). I'm not sure what "scsi-3 reservations" are. –  Soviero Oct 31 '12 at 15:03
    
I see... OK, good to know, thanks –  dyasny Oct 31 '12 at 15:20
    
+1 Thanks Kevin, I did as you said and a new Logical Volume will be created for each VM, but in Proxmox under Defined Storage which shows list of created Logical Volumes I see my Logical Volumes marked as RAW format. Is this a RAW image or a Logical Volume (LVM)? and does this really avoid the overhead of going through the filesystem layer on the host system ? –  Zim3r Nov 11 '12 at 11:24
1  
@Jake Once you have selected the LVM group as your target storage, the "format" option should disable itself. And yes, using LVM means you will not deal with any file system overhead. Although, AFAIK the file system overhead is not bad enough to be worth avoiding... –  Soviero Nov 11 '12 at 15:16

LVM on Proxmox works on shared storage too because Proxmox uses CLVM. You simply share the same LUN to all Proxmox nodes.

CLVM and Proxmox take care, that the same LV is not used on more than one node.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.