Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Determining if there are leftover delta files or snapshots that VMware vSphere or Infrastructure Client cannot detect (1005049)

Last Updated: 3/20/2024Categories: How toTotal Views: 297368Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

14 like this article

Subscribe to get an email
newsletter with new updates

14 people found this helpful Please provide article feedback:

Symptoms

Reporting tools, such as the df command or LUN properties in VMware vSphere or Infrastructure Client, report that a datastore has less space available than you expected.

The VMware vSphere or Infrastructure Client does not detect all delta disks.

Virtual machines are running on snapshots that are not detected by the VMware vSphere or Infrastructure Client.

A vCenter Server alarm is triggered:

Virtual machine disks consolidation is needed

You see this notification in the vSphere Web Client:

Configuration Issues

Virtual machine disks consolidation is needed

Purpose

This article provides information on determining whether delta files are being removed.

Cause

This issue occurs because the delta files are not being cleaned up due to an API integration failure with virtual machine backup software. In this case, contact the backup software vendor.

Resolution

Virtual machines may be running in a snapshot state with delta disks that are not detected by the VMware vSphere or VirtualCenter Client.

To verify the virtual machines that have unlisted snapshots attached:

Open the vCenter Server or Virtual Infrastructure Client and log in.

Select a virtual machine in your host inventory and click Edit Settings.

Review the virtual machine's hardware configuration, highlighting each attached virtual disk. Any disk filename containing a suffix similar to -000001.vmdk is indicative of the virtual machine running on snapshot delta disks.

To review virtual machine directory content using the vSphere Management Assistant (vMA) or vSphere CLI (vCLI):

Note: For more information about steps using the vMA or vCLI, see either vSphere Management Assistant or vSphere Command-Line Interface documentation.

The above file listing suggests that delta disk files reside in the virtual machine's directory. Confirm that they are selected for use by reviewing the virtual machine's configuration in the VMware vSphere or Infrastructure Client. If they are not referenced, and only the base disk is selected, the delta disk files can be removed.

For more information, see Consolidating/Committing snapshots in ESXi (1002310)

To check virtual machine configurations for references to delta disk files via the ESX host terminal:

Log in to the ESX host terminal directly, or via SSH. For ESXi hosts, see Tech Support Mode for Emergency Support (1003677).

Run this command to search for all of the virtual machine configuration files seen by the ESX and check if there is a file which looks like a snapshot disk:

find /vmfs/volumes/ -iname "*.vmx" -exec grep -HEie "-[0-9]{6}.vmdk" {} \;

You see output similar to:

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/examplevm/examplevm.vmx:scsi0:0.fileName = "examplevm-000002.vmdk"

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/examplevm/examplevm.vmx:scsi0:1.filename = "examplevm_1-000002.vmdk"

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/examplevm/examplevm.vmx:scsi0:2.filename = "examplevm_2-000002.vmdk"

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/anothervm/anothervm.vmx:scsi0:0.fileName = "anothervm-000001.vmdk

Note: This command must be run on each VMware ESX host. Virtual machine configuration files in-use by other hosts are not readable by the server running this command.

For an overview of what delta disk files are currently in-use by running virtual machines on an individual VMware ESXi/ESX 3.5, 4.0 or 4.1 host:

Log in to the ESX host terminal directly or via SSH. For ESXi hosts, see Tech Support Mode for Emergency Support (1003677).

List delta disks currently open by the respective VMware ESX host using:

ls -l /vmfs/devices/deltadisks

You see output similar to:

total 134217728
-rw------- 1 root root 107374182400 Sep 7 16:44 34baac8f-VMware Capacity IQ_1-000001-delta.vmdk
-rw------- 1 root root 21474836480 Sep 7 16:44 7f9d62c9-examplevm-000003-delta.vmdk
-rw------- 1 root root 8589934592 Sep 7 16:44 b750727-VMware Capacity IQ-000001-delta.vmdk
-r--r--r-- 1 root root 0 Sep 7 16:44 control

For virtual machines that are not reported to have snapshots in the VMware vSphere or Infrastructure Client, commit or remove the snapshot delta disks. For more information, see Consolidating/Committing snapshots in ESXi (1002310)

If the delta disk files are not used by any virtual machine, you can delete them with caution. For more information, see Consolidating/Committing snapshots in ESXi (1002310) 

Notes:

The same vmkfstools -U command can be run within the ESX host terminal to remove the delta disks, if you are not using the VMware vMA or vCLI.

Attempt the deletions while the respective virtual machine is powered on. If the files are in fact in-use and required by the virtual machine, the operation fails and prevent deletion of the disk files. Attempt to consolidate the respective delta disk file if this occurs.

To list all delta disk files stored across the datastores:

Log in to the ESX host terminal directly or via SSH. For ESXi hosts, see Tech Support Mode for Emergency Support (1003677).

List delta disks stored across the datastores using:

find /vmfs/volumes/ -iname "*delta.vmdk"

You see output similar to:

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/ examplevm/ examplevm-000001-delta.vmdk

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/ examplevm/ examplevm-000002-delta.vmdk

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/ examplevm/ examplevm-000003-delta.vmdk

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/ stalevm/ stalevm-000001-delta.vmdk

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/stale vm/stale vm-000002-delta.vmdk

/vmfs/volumes/49d9f2d8-5a74ba2f-b589-0013724c78e6/anothervm/anothervm-000001-delta.vmdk

Note: In this example, examplevm is a legitimate virtual machine with three snapshot delta disks. stalevm is a decommissioned virtual machine that was removed from inventory, but not deleted from the datastore, unnecessarily taking up space.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant