Create VM without (RBD)disk in the webgui

legbreaker

Member
Feb 26, 2020
7
1
8
125
Hi,
Is there a way to change the default proxmox (RBD) disk name?
We are using a Ceph RBD storage back-end.
For example:
rbd_poolname/vm-100-disk-0 (standard created by proxmox, might due to name convention?)

Of course we can edit the VM after creation:
/etc/pve/nodes/proxmoxtest1/qemu-server/100.conf --> virtio0: rbd_poolname:vm-100-disk-0,size=32G

Or:
We can first make a new RBD image with RBD create --size 32G rbd_poolname/vm-100-VMNAME-disk-0

Create a new VM in proxmox (I think it is not possible to make a VM without a disk in the webgui).
And after that, edit /etc/pve/nodes/proxmoxtest1/qemu-server/100.conf and change the disk to vm-100-VMNAME-disk-0
and delete the standard created proxmox RBD image (vm-100-disk-0)

That will work.
But...
Is there a way to avoid all this, by just create a VM without a disk, to add it later?

And again.. Ofcourse we can make a new VM on the CLI with the proper RBD disk. The VM~will popup in the webgui... But is there a way in the webgui?
Thanks again!
 
Hi,
Is there a way to change the default proxmox (RBD) disk name?
We are using a Ceph RBD storage back-end.
For example:
rbd_poolname/vm-100-disk-0 (standard created by proxmox, might due to name convention?)

Of course we can edit the VM after creation:
/etc/pve/nodes/proxmoxtest1/qemu-server/100.conf --> virtio0: rbd_poolname:vm-100-disk-0,size=32G

Or:
We can first make a new RBD image with RBD create --size 32G rbd_poolname/vm-100-VMNAME-disk-0

Create a new VM in proxmox (I think it is not possible to make a VM without a disk in the webgui).
And after that, edit /etc/pve/nodes/proxmoxtest1/qemu-server/100.conf and change the disk to vm-100-VMNAME-disk-0
and delete the standard created proxmox RBD image (vm-100-disk-0)

That will work.
But...
Is there a way to avoid all this, by just create a VM without a disk, to add it later?

You can create a VM with a tiny disk (e.g. 0.1GB) and remove it immediately afterwards

And again.. Ofcourse we can make a new VM on the CLI with the proper RBD disk. The VM~will popup in the webgui... But is there a way in the webgui?
No. Web-GUI is intends to guide through the process creating a new machine by offering the common components used. However, for every add on which is requested frequently we are always open to implement them. Feel free to file a bug type "enhancement" via https://bugzilla.proxmox.com with your request(s).