Snapshot creation fails with "An error occurred while taking a snapshot: Invalid change tracker error code" for independent disks
search cancel

Snapshot creation fails with "An error occurred while taking a snapshot: Invalid change tracker error code" for independent disks

book

Article ID: 392492

calendar_today

Updated On: 03-31-2025

Products

VMware vCenter Server

Issue/Introduction

Implementing KB: Consolidation shows completed but not working or resolved fails at step 6 "Create snapshot on problematic VM again" with the error:

Task name: Create virtual machine snapshot
Target: ESXi host
Status: An error occurred while taking a snapshot: Invalid change tracker error code

scsi1:0.mode = "independent-persistent"

Environment

VMware ESXi 7.x

Cause

Independent means that the disk is excluded from snapshot operation but there is a delta disk attached.

Resolution

  • Power OFF the VM to be able to access the Advanced Setting to change to "Persistent" as per Change Disk Mode to Exclude Virtual Disks from Snapshots.
  • If this fails, use powercli: Get-VM VMNAME | Get-HardDisk -Name 'Hard disk X'| Set-HardDisk  -Persistence 'Persistent'
    • Where VMNAME is the VM affected and Hard disk X is the hard disk in question.

Additional Information