import VMDK in proxmoxVE 6.3.3

Ricardo Freitas

New Member
Oct 16, 2019
2
1
1
30
hello guys, can you help me with these problems I'm having in importing VMDK in proxmoxVE 6.3.3

error:

root@proxmoxve02:/mnt# qm importdisk 125 OCS-SNMP-flat.vmdk zpool -format qcow2
importing disk 'OCS-SNMP-flat.vmdk' to VM 125 ...
transferred: 0 bytes remaining: 64424509440 bytes total: 64424509440 bytes progression: 0.00 %
qemu-img: Could not open 'OCS-SNMP-flat.vmdk': invalid VMDK image descriptor
copy failed: command '/usr/bin/qemu-img convert -p -n -t none -f vmdk -O raw OCS-SNMP-flat.vmdk zeroinit:/dev/zvol/zpool/vm-125-disk-0' failed: exit code 1
root@proxmoxve02:/mnt#




thanks!!!
 

Attachments

  • Capturar4.PNG
    Capturar4.PNG
    13 KB · Views: 3

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
2,792
314
88
hi,

you need to use the vmdk file itself and not the flat vmdk

you can also use qm importovf if you have an ovf
 

Ricardo Freitas

New Member
Oct 16, 2019
2
1
1
30
thanks oguz for the answer, the trainee worked correctly after copying the correct file




root@proxmoxve02:/mnt# qm importdisk 125 BPVMTS01.vmdk zpool -format qcow2
importing disk 'BPVMTS01.vmdk' to VM 125 ...
transferred: 0 bytes remaining: 322231599104 bytes total: 322231599104 bytes progression: 0.00 %
transferred: 3222315991 bytes remaining: 319009283113 bytes total: 322231599104 bytes progression: 1.00 %
transferred: 6444631982 bytes remaining: 315786967122 bytes total: 322231599104 bytes progression: 2.00 %
transferred: 9666947973 bytes remaining: 312564651131 bytes total: 322231599104 bytes progression: 3.00 %
transferred: 12889263964 bytes remaining: 309342335140 bytes total: 322231599104 bytes progression: 4.00 %
transferred: 16111579955 bytes remaining: 306120019149 bytes total: 322231599104 bytes progression: 5.00 %
transferred: 19333895946 bytes remaining: 302897703158 bytes total: 322231599104 bytes progression: 6.00 %
transferred: 22556211937 bytes remaining: 299675387167 bytes total: 322231599104 bytes progression: 7.00 %
transferred: 25778527928 bytes remaining: 296453071176 bytes total: 322231599104 bytes progression: 8.00 %
transferred: 29000843919 bytes remaining: 293230755185 bytes total: 322231599104 bytes progression: 9.00 %
transferred: 32223159910 bytes remaining: 290008439194 bytes total: 322231599104 bytes progression: 10.00 %
transferred: 35445475901 bytes remaining: 286786123203 bytes total: 322231599104 bytes progression: 11.00 %
transferred: 38667791892 bytes remaining: 283563807212 bytes total: 322231599104 bytes progression: 12.00 %
transferred: 41890107883 bytes remaining: 280341491221 bytes total: 322231599104 bytes progression: 13.00 %
transferred: 45112423874 bytes remaining: 277119175230 bytes total: 322231599104 bytes progression: 14.00 %
transferred: 48366963025 bytes remaining: 273864636079 bytes total: 322231599104 bytes progression: 15.01 %
transferred: 51589279016 bytes remaining: 270642320088 bytes total: 322231599104 bytes progression: 16.01 %
transferred: 54811595007 bytes remaining: 267420004097 bytes total: 322231599104 bytes progression: 17.01 %
transferred: 58033910998 bytes remaining: 264197688106 bytes total: 322231599104 bytes progression: 18.01 %
transferred: 61256226989 bytes remaining: 260975372115 bytes total: 322231599104 bytes progression: 19.01 %
transferred: 64478542980 bytes remaining: 257753056124 bytes total: 322231599104 bytes progression: 20.01 %
transferred: 67700858971 bytes remaining: 254530740133 bytes total: 322231599104 bytes progression: 21.01 %
transferred: 70923174962 bytes remaining: 251308424142 bytes total: 322231599104 bytes progression: 22.01 %
transferred: 74145490953 bytes remaining: 248086108151 bytes total: 322231599104 bytes progression: 23.01 %
transferred: 77367806944 bytes remaining: 244863792160 bytes total: 322231599104 bytes progression: 24.01 %
transferred: 80590122935 bytes remaining: 241641476169 bytes total: 322231599104 bytes progression: 25.01 %
transferred: 83812438926 bytes remaining: 238419160178 bytes total: 322231599104 bytes progression: 26.01 %
transferred: 87034754917 bytes remaining: 235196844187 bytes total: 322231599104 bytes progression: 27.01 %
transferred: 90257070909 bytes remaining: 231974528195 bytes total: 322231599104 bytes progression: 28.01 %
transferred: 93479386900 bytes remaining: 228752212204 bytes total: 322231599104 bytes progression: 29.01 %
transferred: 96701702891 bytes remaining: 225529896213 bytes total: 322231599104 bytes progression: 30.01 %
transferred: 99924018882 bytes remaining: 222307580222 bytes total: 322231599104 bytes progression: 31.01 %
transferred: 103146334873 bytes remaining: 219085264231 bytes total: 322231599104 bytes progression: 32.01 %
transferred: 106368650864 bytes remaining: 215862948240 bytes total: 322231599104 bytes progression: 33.01 %
transferred: 109590966855 bytes remaining: 212640632249 bytes total: 322231599104 bytes progression: 34.01 %
transferred: 112813282846 bytes remaining: 209418316258 bytes total: 322231599104 bytes progression: 35.01 %
transferred: 116035598837 bytes remaining: 206196000267 bytes total: 322231599104 bytes progression: 36.01 %
transferred: 119257914828 bytes remaining: 202973684276 bytes total: 322231599104 bytes progression: 37.01 %
transferred: 122480230819 bytes remaining: 199751368285 bytes total: 322231599104 bytes progression: 38.01 %
transferred: 125702546810 bytes remaining: 196529052294 bytes total: 322231599104 bytes progression: 39.01 %
transferred: 128924862801 bytes remaining: 193306736303 bytes total: 322231599104 bytes progression: 40.01 %
transferred: 132147178792 bytes remaining: 190084420312 bytes total: 322231599104 bytes progression: 41.01 %
transferred: 135369494783 bytes remaining: 186862104321 bytes total: 322231599104 bytes progression: 42.01 %
transferred: 138591810774 bytes remaining: 183639788330 bytes total: 322231599104 bytes progression: 43.01 %
transferred: 141814126765 bytes remaining: 180417472339 bytes total: 322231599104 bytes progression: 44.01 %
transferred: 145068665916 bytes remaining: 177162933188 bytes total: 322231599104 bytes progression: 45.02 %
transferred: 148290981907 bytes remaining: 173940617197 bytes total: 322231599104 bytes progression: 46.02 %
transferred: 151513297898 bytes remaining: 170718301206 bytes total: 322231599104 bytes progression: 47.02 %
transferred: 154735613889 bytes remaining: 167495985215 bytes total: 322231599104 bytes progression: 48.02 %
transferred: 157957929880 bytes remaining: 164273669224 bytes total: 322231599104 bytes progression: 49.02 %
transferred: 161180245871 bytes remaining: 161051353233 bytes total: 322231599104 bytes progression: 50.02 %
transferred: 164402561862 bytes remaining: 157829037242 bytes total: 322231599104 bytes progression: 51.02 %
transferred: 167624877853 bytes remaining: 154606721251 bytes total: 322231599104 bytes progression: 52.02 %
transferred: 170847193844 bytes remaining: 151384405260 bytes total: 322231599104 bytes progression: 53.02 %
transferred: 174069509835 bytes remaining: 148162089269 bytes total: 322231599104 bytes progression: 54.02 %
transferred: 177291825827 bytes remaining: 144939773277 bytes total: 322231599104 bytes progression: 55.02 %
transferred: 180514141818 bytes remaining: 141717457286 bytes total: 322231599104 bytes progression: 56.02 %
transferred: 183736457809 bytes remaining: 138495141295 bytes total: 322231599104 bytes progression: 57.02 %
transferred: 186958773800 bytes remaining: 135272825304 bytes total: 322231599104 bytes progression: 58.02 %
transferred: 190181089791 bytes remaining: 132050509313 bytes total: 322231599104 bytes progression: 59.02 %
transferred: 193403405782 bytes remaining: 128828193322 bytes total: 322231599104 bytes progression: 60.02 %
transferred: 196625721773 bytes remaining: 125605877331 bytes total: 322231599104 bytes progression: 61.02 %
transferred: 199848037764 bytes remaining: 122383561340 bytes total: 322231599104 bytes progression: 62.02 %
transferred: 203070353755 bytes remaining: 119161245349 bytes total: 322231599104 bytes progression: 63.02 %
transferred: 206292669746 bytes remaining: 115938929358 bytes total: 322231599104 bytes progression: 64.02 %
transferred: 209514985737 bytes remaining: 112716613367 bytes total: 322231599104 bytes progression: 65.02 %
transferred: 212737301728 bytes remaining: 109494297376 bytes total: 322231599104 bytes progression: 66.02 %
transferred: 215959617719 bytes remaining: 106271981385 bytes total: 322231599104 bytes progression: 67.02 %
transferred: 219181933710 bytes remaining: 103049665394 bytes total: 322231599104 bytes progression: 68.02 %
transferred: 222404249701 bytes remaining: 99827349403 bytes total: 322231599104 bytes progression: 69.02 %
transferred: 225626565692 bytes remaining: 96605033412 bytes total: 322231599104 bytes progression: 70.02 %
transferred: 228848881683 bytes remaining: 93382717421 bytes total: 322231599104 bytes progression: 71.02 %
transferred: 232071197674 bytes remaining: 90160401430 bytes total: 322231599104 bytes progression: 72.02 %
transferred: 235293513665 bytes remaining: 86938085439 bytes total: 322231599104 bytes progression: 73.02 %
transferred: 238548052816 bytes remaining: 83683546288 bytes total: 322231599104 bytes progression: 74.03 %
transferred: 241770368807 bytes remaining: 80461230297 bytes total: 322231599104 bytes progression: 75.03 %
transferred: 244992684798 bytes remaining: 77238914306 bytes total: 322231599104 bytes progression: 76.03 %
transferred: 248215000789 bytes remaining: 74016598315 bytes total: 322231599104 bytes progression: 77.03 %
transferred: 251437316780 bytes remaining: 70794282324 bytes total: 322231599104 bytes progression: 78.03 %
transferred: 254659632771 bytes remaining: 67571966333 bytes total: 322231599104 bytes progression: 79.03 %
transferred: 257881948762 bytes remaining: 64349650342 bytes total: 322231599104 bytes progression: 80.03 %
transferred: 261104264753 bytes remaining: 61127334351 bytes total: 322231599104 bytes progression: 81.03 %
transferred: 264326580745 bytes remaining: 57905018359 bytes total: 322231599104 bytes progression: 82.03 %
transferred: 267548896736 bytes remaining: 54682702368 bytes total: 322231599104 bytes progression: 83.03 %
transferred: 270771212727 bytes remaining: 51460386377 bytes total: 322231599104 bytes progression: 84.03 %
transferred: 273993528718 bytes remaining: 48238070386 bytes total: 322231599104 bytes progression: 85.03 %
transferred: 277215844709 bytes remaining: 45015754395 bytes total: 322231599104 bytes progression: 86.03 %
transferred: 280438160700 bytes remaining: 41793438404 bytes total: 322231599104 bytes progression: 87.03 %
transferred: 283660476691 bytes remaining: 38571122413 bytes total: 322231599104 bytes progression: 88.03 %
transferred: 286882792682 bytes remaining: 35348806422 bytes total: 322231599104 bytes progression: 89.03 %
transferred: 290105108673 bytes remaining: 32126490431 bytes total: 322231599104 bytes progression: 90.03 %
transferred: 293327424664 bytes remaining: 28904174440 bytes total: 322231599104 bytes progression: 91.03 %
transferred: 296549740655 bytes remaining: 25681858449 bytes total: 322231599104 bytes progression: 92.03 %
transferred: 299772056646 bytes remaining: 22459542458 bytes total: 322231599104 bytes progression: 93.03 %
transferred: 302994372637 bytes remaining: 19237226467 bytes total: 322231599104 bytes progression: 94.03 %
transferred: 306216688628 bytes remaining: 16014910476 bytes total: 322231599104 bytes progression: 95.03 %
transferred: 309439004619 bytes remaining: 12792594485 bytes total: 322231599104 bytes progression: 96.03 %
transferred: 312661320610 bytes remaining: 9570278494 bytes total: 322231599104 bytes progression: 97.03 %
transferred: 315883636601 bytes remaining: 6347962503 bytes total: 322231599104 bytes progression: 98.03 %
transferred: 319105952592 bytes remaining: 3125646512 bytes total: 322231599104 bytes progression: 99.03 %
transferred: 322231599104 bytes remaining: 0 bytes total: 322231599104 bytes progression: 100.00 %
transferred: 322231599104 bytes remaining: 0 bytes total: 322231599104 bytes progression: 100.00 %
Successfully imported disk as 'unused0:zpool:vm-125-disk-1'
root@proxmoxve02:/mnt#
root@proxmoxve02:/mnt#
root@proxmoxve02:/mnt#

Capturar7.PNGCapturar8.PNG
 
  • Like
Reactions: Dominic

Dominic

Proxmox Staff Member
Staff member
Mar 18, 2019
954
110
43
You then have to double click on the disk in the hardware overview in the GUI to attach it as ide/sata/scsi.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!