Hi,
My situation is I have several VMs that use the same hardware (i.e. a GPU) and I have scheduled backup job to back them up (normally as a snapshot).
Part of the backup process is to start the VM but the problem is if one of the VMs that share the same hardware is already running then it crashes and also the backup of the other VM fails.
Obviously only 1 VM (using the same hardware) can be run at the same time but would there be a way for the backup process to do a sanity check and see if the resources are available to start the VM (for backup) before actually starting and avoid the crash? I guess normally a 'qm start' will try to grab the resources and then fail if it can't but that process harms the VM using the resources in the first place. Maybe proxmox could keep a running list of hardware that is being used by running VMs to avoid this?
Kind Regards,
Jonathan
My situation is I have several VMs that use the same hardware (i.e. a GPU) and I have scheduled backup job to back them up (normally as a snapshot).
Part of the backup process is to start the VM but the problem is if one of the VMs that share the same hardware is already running then it crashes and also the backup of the other VM fails.
Obviously only 1 VM (using the same hardware) can be run at the same time but would there be a way for the backup process to do a sanity check and see if the resources are available to start the VM (for backup) before actually starting and avoid the crash? I guess normally a 'qm start' will try to grab the resources and then fail if it can't but that process harms the VM using the resources in the first place. Maybe proxmox could keep a running list of hardware that is being used by running VMs to avoid this?
Kind Regards,
Jonathan