qm create "import-from" volume id construction

scotthaskin

New Member
Mar 7, 2024
4
0
1
While creating a new VM I'm importing a disk image, using a command similar to the following:

Code:
qm create 100  --agent 1  --balloon 0  --bios ovmf  --scsihw virtio-scsi-pci  --onboot 1 --start 1 --cores 4 --memory 4096 --name "SecureAccessConnector" --net0 "virtio,bridge=vmbr0" --scsi0 "local-lvm:0,import-from=/root/diskimage.qcow2"

for the import part "--scsi0 "local-lvm:0,import-from=/root/diskimage.qcow2", I was wondering for the volume id "local-lvm:0" how do I determine what the valid numbers are? (or is 0 the only option)
 
Last edited:

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!