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: