Until recently I was using Proxmox 4.0 and this was my procedure for converting a VMWare VM to Proxmox
- Create a working VM. Uninstall VMWare Tools
- Mount the ProxMox
- Drivers ISO and copy the necessary drivers to the C:\PVE folder
- Start the Windows virtual machine on VMware and execute the File Mergeide.reg.
- Make sure Atapi.sys, Intelide.sys, Pciide.sys, and Pciidex.sys are in the %SystemRoot%\System32\Drivers folder.
- Shutdown Windows.
Then prepare the VMDisk using the vdiskmanager
"C:\Program Files\VMware\VMware Server\vmware-vdiskmanager" -r disk0.vmdk -t 0 disk0-pve.vmdk
Then convert the vmdk to a qcow2 file
qemu-img convert -f vmdk disk0-pve.vmdk -O qcow2 disk0-pve.qcow2
Now in Proxmox create the VM using the same hardware spec as the VM in VMWare. Then rename the disk0-pve.qcow2 to vm-VID-disk-1.qcow2
Then upload the qcow2 file to /var/lib/vz/images/VID
Run the VM and sorted…
Now here’s my problem.
Just upgraded to Proxmox 4.4 and I believe it all changed from version 4.2 onwards
My Proxmox server installation created to storage areas (local & local-lvm) When you create a VM the disks are placed on the local-lvm storage. The /etc/pve/qemu-server/VID.conf file shows the location as local-lvm:vm-VID-disk-1
So my first question is this.
1) What do I do with my .qcow2 file? I can’t upload it to /var/lib/vz/images as that’s empty and I have no idea how to navigate to local-lvm (I’m assuming you can’t as its a lvm)
2) How do I get the vm-VID-disk-1.qcow2 file (I created above) to local-lvm:vm-VID-disk-1?
Other questions…
On the old Proxmox 4.0 I used to switch off the VM and download the qcow2 as a backup (I know I can snapshot) but the qcow2 file was for off site emergencies.
3) So how do I get the local-lvm:vm-VID-disk-1 copied to a vm-VID-disk-1.qcow2?
Of course the other problem is the "created" local storage was small in size (decided by the proxmox installer). It decided on 200Gb.
4) However one of the disks (qcow2 file) is 500Gb so how do I get that to the local-lvm?
Of course on version 4.0 it wasn't a problem because it was all one storage area under "/" and I could upload and download the qcow2 files via SFTP.
I could put the disk on a USB Disk and mount it maybe?
What's your thoughts on mounting to a SMB share from my PC that has the qcow2 file? Does proxmox even support SMB mounting? or will I need to install the debian packages? if so will that break the proxmox and its performance as a hypervisor?
Sorry lots of questions :-)