We have two VMs that share a PCI device. VM 192 and 194.
These two VMs are never online at the same time. When we need a special programm we stop VM 194 and start 192.
So this VM can use the PCI device. When we are finished, we stop the VM 192 and start the VM 194 again.
When we try to backup the VMs we get the error.
That's true..... But the VM 192 does not run. So why do you care if the PCI device is in use? You are not making a backup of the PCi device.
You should b eable to make a backup of the stopped VM 192 ,even if the PCI device is in use with another VM.
These two VMs are never online at the same time. When we need a special programm we stop VM 194 and start 192.
So this VM can use the PCI device. When we are finished, we stop the VM 192 and start the VM 194 again.
When we try to backup the VMs we get the error.
ERROR: Backup of VM 192 failed - PCI device '0000:01:00.0' already in use by VMID '194'
That's true..... But the VM 192 does not run. So why do you care if the PCI device is in use? You are not making a backup of the PCi device.
You should b eable to make a backup of the stopped VM 192 ,even if the PCI device is in use with another VM.
Code:
INFO: Starting Backup of VM 192 (qemu)
INFO: Backup started at 2023-12-22 04:08:52
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: vsx-Vidya
INFO: include disk 'scsi0' 'VM_Festplatten_NVME:vm-192-disk-1' 1G
INFO: include disk 'scsi1' 'VM_Festplatten_NVME:vm-192-disk-3' 244199M
INFO: include disk 'scsi2' 'VM_Festplatten_NVME:vm-192-disk-4' 976763M
INFO: include disk 'efidisk0' 'VM_Festplatten_NVME:vm-192-disk-0' 528K
INFO: include disk 'tpmstate0' 'VM_Festplatten_NVME:vm-192-disk-2' 4M
INFO: snapshots found (not included into backup)
INFO: creating Proxmox Backup Server archive 'vm/192/2023-12-22T03:08:52Z'
INFO: starting kvm to execute backup task
ERROR: Backup of VM 192 failed - PCI device '0000:01:00.0' already in use by VMID '194'
INFO: Failed at 2023-12-22 04:08:52