[SOLVED] How can I import exiting disk to VM?

TND

Member
May 19, 2019
14
0
21
34
Hello Proxmox,

I was create a new VM ID 124 .

How can I upload and import my exiting image .qcow2 to this VM ?

Code:
root@pve:~# zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
rpool                     2.75G   129G   104K  /rpool
rpool/ROOT                2.74G   129G    96K  /rpool/ROOT
rpool/ROOT/pve-1          2.74G   129G  2.74G  /
rpool/data                 152K   129G    96K  /rpool/data
rpool/data/vm-124-disk-0    56K   129G    56K  -

Thank you
 
Hi,

you have to copy it to the Host to /var/lib/vz/images/124/vm-124-disk-0.qcow2
Then you can run "qm rescan"
Now you see the image in your VM config as an unused disk.
 
  • Like
Reactions: TND

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!