[SOLVED] Add an existing drive in VM

f.yakhyaev

Member
Sep 4, 2019
45
3
8
34
Good day. I need help.
I have proxmox 6 and i create new VM and i have drive web-job.qcow2 with OC.
How do I mount an existing drive for this VM?
Thanks
 
Hi, you can import an existing disk image as unused disk to a VM by qm importdisk <vmid> <source> <storage> [OPTIONS], see man qm for details. After this you can easily attach it to your VM.
 
Thanks for answer.
I solved differently metod.
I create VM and create drive for this VM and change config.I write my exist drive and path to my drive. And Vm is started.
Have a nice day.