Thursday, November 19, 2015

kvm lv to vmdk

kvm vm is on an lvm and i need it as a vmware vmdk. sigh.
 # qemu-img convert -O vmdk /dev/vg_name/lv_name/ vmname.vmdk  
 # vmkfstools -i /vmfs/volumes/something/vmname.vmdk -d thin /vmfs/volumes/something/vmname/vmname-thin.vmdk  
 # vi vmname-thin.vmdk  
 change ddb.adapterType=ide to ddb.adapterType=lsilogic  
Post a Comment