Add "Existing disk" option missing?

bellocarico

Member
Sep 17, 2022
54
4
13
I'm reading the forum trying to find out how to add an existing disk to a VM. I hate comparing all the time with what vmware but I admit the "add existing disk" option they have is pretty handy. Can a similar option be mad available to Proxmox users as well?

Thanks
 
adding an existing disk image is already possible - it's just not exposed on the GUI yet:
Code:
qm set XXX -scsiN STORAGE:0,import-from:SOURCE_VOLUME,...

where
- XXX is the VMID
- N is the scsi slot (or virtioN, or ..)
- STORAGE is the target storage where the disk should be imported to
- SOURCE_VOLUME is either the volume ID or the absolute path to the source image

same also works over the API (absolute path is root only for obvious reasons).
 
Feature requests are best placed on your https://bugzilla.proxmox.com/.
There is one bug/feature request already open that seems to fit your suggestions quite well, https://bugzilla.proxmox.com/show_bug.cgi?id=2768.

Thanks for this, I always prefer the forum approach first. If I'm then advised to use bugzilla I'll escalate there.
Thanks for the guidance.



adding an existing disk image is already possible - it's just not exposed on the GUI yet:
Code:
qm set XXX -scsiN STORAGE:0,import-from:SOURCE_VOLUME,...

where
- XXX is the VMID
- N is the scsi slot (or virtioN, or ..)
- STORAGE is the target storage where the disk should be imported to
- SOURCE_VOLUME is either the volume ID or the absolute path to the source image

same also works over the API (absolute path is root only for obvious reasons).
Thank that's what I'm currently doing but my point revolves specifically on the GUI approach.
 
the import code was pulled up to the API (it was CLI only before that and not integrated into VM creation / config updating at all) in the meantime which was the bulk of the work. the conclusion is that implementing features can sometimes take a while ;)
 
  • Like
Reactions: bellocarico

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!