Unable to delete virtual machine snapshots due to "ddb.deletable" option in Omnissa environments
search cancel

Unable to delete virtual machine snapshots due to "ddb.deletable" option in Omnissa environments

book

Article ID: 458431

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Virtual machines provisioned for Omnissa Horizon environments may experience snapshot deletion issues. Following symptoms were observed:

  • "Consolidate" operations complete instantly without errors, yet snapshots persist.
  • Command-line attempts (vim-cmd vmsvc/snapshot.removeall) also complete without errors but do not remove the snapshots.
  • The issue does not affect newly deployed VMs, suggesting it is specific to the legacy base images.
  • Despite vCenter tasks reporting success in under two seconds, the snapshot chain remained untouched. This behavior was consistently observed across legacy "linked clone" base image VMs while newly deployed VMs functioned normally.

 

Environment

  • VMware vSphere
  • Omnissa Horizon environments
  • VDI-linked clone virtual machines

Cause

The ddb.deletable parameter in the virtual disk descriptor file is explicitly set to "false." This is a legacy configuration artifact often seen in Horizon linked-clone base images that locks the disk against consolidation or removal operations.

cat Test-000005.vmdk

# Disk DescriptorFile
version=3
encoding="UTF-8"
CID=498c8882
parentCID=7784eacf
createType="seSparse"
parentFileNameHint="Test-000004.vmdk"
# Extent description
RW 419430400 SESPARSE "Test-000005-sesparse.vmdk"

# Change Tracking File
changeTrackPath="Test-000005-ctk.vmdk"

# The Disk Data Base
#DDB

ddb.deletable = "false"
ddb.grain = "8"
ddb.longContentID = "9902d4817b108e5862913b3c498c8882"

 

Resolution

To resolve this, you must manually update the configuration parameter to "true" to enable snapshot consolidation.

  1. Power off the virtual machine.
  2. Access the ESXi host where the VM resides via SSH.
  3. Navigate to the directory containing the virtual machine files: cd /vmfs/volumes/<datastore_name>/<vm_name>/
  4. Identify the affected .vmdk files by searching for the parameter: grep ddb.deletable *.vmdk Note: Do not target -sesparse.vmdk or -flat.vmdk files. These files contain actual data, not metadata.
  5. Modify the ddb.deletable option from "false" to "true" using sed: sed -i -e 's/deletable = "false"/deletable = "true"/' <filename>.vmdk
  6. Return to the vSphere Client and perform the "Consolidate" or "Delete All Snapshots" operation.

If these steps do not resolve the issue, verify your Horizon management settings or contact Omnissa Support.

For further assistance, see our main Contact Broadcom support article.