Error importing VMWare disk

powder8

Member
Apr 25, 2021
12
0
6
47
Hy,

I tried to covert my VMVare Images to Proxmox. After getting Support here I get the following error when trying to import an VM. Has anyone a hint?

Code:
root@proxmox:~# qm importdisk 105 oracle_webserver_17-flat.vmdk local -format qcow2

importing disk 'oracle_webserver_17-flat.vmdk' to VM 105 ...

Formatting '/var/lib/vz/images/105/vm-105-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=26843545600 lazy_refcounts=off refcount_bits=16

transferred 0.0 B of 25.0 GiB (0.00%)

qemu-img: Could not open 'oracle_webserver_17-flat.vmdk': invalid VMDK image descriptor

copy failed: command '/usr/bin/qemu-img convert -p -n -f vmdk -O qcow2 oracle_webserver_17-flat.vmdk zeroinit:/var/lib/vz/images/105/vm-105-disk-0.qcow2' failed: exit code 1

root@proxmox:~#

mybe the wrong image?

Code:
-rw-------@ 1 bameier  staff        53248 30 Okt 03:47 oracle_webserver_17-000001-delta.vmdk
-rw-------@ 1 bameier  staff          286 30 Okt 03:46 oracle_webserver_17-000001.vmdk
-rw-------@ 1 bameier  staff   4300399882 30 Okt 03:37 oracle_webserver_17-Snapshot1533.vmsn
-rw-------@ 1 bameier  staff  26843545600 30 Okt 03:46 oracle_webserver_17-flat.vmdk
-rw-------@ 1 bameier  staff         8684 30 Okt 03:36 oracle_webserver_17.nvram
-rw-------@ 1 bameier  staff          506 30 Okt 03:37 oracle_webserver_17.vmdk
-rw-r--r--@ 1 bameier  staff          513 30 Okt 03:36 oracle_webserver_17.vmsd
-rw-r--r--@ 1 bameier  staff         2772 30 Okt 03:35 oracle_webserver_17.vmx
-rw-------@ 1 bameier  staff          274 30 Okt 03:36 oracle_webserver_17.vmxf
-rw-r--r--@ 1 bameier  staff         1694 30 Okt 03:47 vmxbackup.xml


I've only copied the largest File 26843545600 30 Okt 03:46 oracle_webserver_17-flat.vmdk to proxmox
THANKS
 
Last edited:
Thanks..... It worked then you copy both files vmdk and flat... That was not mentioned in the HowTo..... Thanks

SOLVED
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!