[SOLVED] Add an existing drive in VM

f.yakhyaev

Member
Sep 4, 2019
45
3
8
33
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.
 

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!