storage type lvm does not support format vmdk? Why?

nate

Member
Mar 15, 2011
63
0
6
I am curious why this is so : "storage type lvm does not support format vmdk" ? I am using iscsi on shared storage device. I know it is a limitation and vms need to be stored as raw, but why is this?
 
I am curious why this is so : "storage type lvm does not support format vmdk" ? I am using iscsi on shared storage device. I know it is a limitation and vms need to be stored as raw, but why is this?
Hi,
lvm-storage provides disk-space for the vm-disks as logical volumes (lv). On the volumegroup aren't a filesystem and inside the lv can be a filesystem, but i normal usecase (a lv as vm-.disks) it's a container for an hdd (an raw-diskfile).

For an vmdk-disk, you need an underlaying filesystem. You can of course create an lv with an filesystem which you mount on one node. But in this case the storage are local and not shared (except you use an cluster-filesystem).

lvm-storage is easy to use and very flexible - just convert your vmdk-disk-file and all is fine ;)

Udo