When we try to create Snapshot it fails with the error: Operation Failed! "The Operation is not allowed in the current state".
It is generally not possible to take a snapshot of a virtual machine (VM) that utilizes PCI pass-through or vGPU (virtual GPU) due to the nature of these configurations. PCI pass-through provides a direct connection to the physical hardware, while vGPU allows for a shared GPU experience, neither of which are designed to be snapshotted.
VM which is configured with PCI pass-through or vGPU (virtual GPU) does not support Snapshot.
To backup VM's without triggering Snapshots from Backup Application, request you to engage the Backup Vendor.
It is possible to take a powered-off snapshot of a virtual machine (VM) with vGPU enabled; however, errors are encountered under certain conditions:
When VM is powered on:
"The operation is not allowed in the current state."
When VM is powered off:
"An error occurred while taking a snapshot: Invalid change tracker error code."
Identify if Changed Block Tracking (CBT) is enabled on the VM.
Removed the following CBT-related entries from the VM's .vmx
file or set it to False
Perform a power cycle of the VM.
After applying these changes, snapshot creation should work.