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:

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

VMware ESXi 8.x

Cause

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

Resolution

  1. 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.
  2. If this fails, use powercli: Get-VM VMNAME | Get-HardDisk -Name 'Hard disk X'| Set-HardDisk  -Persistence 'Persistent'
    1. Where VMNAME is the VM affected and Hard disk X is the hard disk in question.

Additional Information