Moving VM from NFS to iSCSI

dmentorz

New Member
Oct 8, 2010
13
0
1
Hi,

i converted an ESXi vm to proxmox by copying the .vmdk file onto my NFS (after uninstalling vmware tools, applying the mergeide.reg etc.) and the vm works great.

Now i want to move it to my iSCSI lun. I have attached the iSCSI via the web gui and created the LVM group. I also set up a new vm on the LVM and tried to use the dd command to clone the .vmdk to iSCSI but after the dd command finishes, the vm bios says, hdd not bootable.

Am I missing something ?
 
alternative: do a backup/restore, using the --storage flag from qmrestore.
(see 'man qmrestore')
 
I also set up a new vm on the LVM and tried to use the dd command to clone the .vmdk to iSCSI but after the dd command finishes

AFAIK vmdk is not a 'raw' format, so you need to convert that to raw format first (qemu-img).