do not have file in /var/lib/vz/images once VM created

rjcab

Active Member
Mar 1, 2021
76
1
28
45
Hello,

I tried to import a vmdk file so first I create a VM (110) and then

Code:
qemu-img convert -f vmdk -O qcow2 fichier.vmdk disque.qcow2


qm disque.qcow2 /var/lib/vz/images/110/vm-110-disk-0.qcow2

The issue is that I don't have the folder "110" created, I think I missed something ?

THanks
 
From the docs, Use:

qm disk import <vmid> <source> <storage> [OPTIONS]

Import an external disk image as an unused disk in a VM. The image format has to be supported by qemu-img(1).
 
  • Like
Reactions: rjcab