Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

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

My Subscriptions

Loading

Knowledge Base

Thinly provisioned Virtual Disks inflates to a larger size during snapshot removal process (56608)

Last Updated: 11/10/2021Categories: Known IssueTotal Views: 11329Language:
Chinese (Simplified)JapaneseEnglish

19 like this article

Subscribe to get an email
newsletter with new updates

19 people found this helpful Please provide article feedback:

Symptoms

Disk usage of a thin-provisioned virtual disk could increase if the following sequence of steps are executed:

Create a SEsparse snapshot on virtual disk larger than 2TB on a VMFS5 datastore or default snapshot on VMFS6 datastore.

Guest Windows OS does Disk Optimization.

Remove the snapshot.

Due to this, following symptoms can be seen:

Thinly provisioned Virtual Disk's size inflates to a larger size after a backup job is complete.

Snapshot removal process takes a long time than usual.

A TRIM operation need to be run to reclaim space from within the Guest OS.

Cause

This is the limitation of the current design of SEsparse. Unmap requests that the guest OS issues during disk optimization is processed by SEsparse. When the snapshot is removed the delta disk is consolidated to its parent which could be the base disk. During consolidation, unmaps that were received by SeSparse are not passed down to the base disk. These are handled as zero filled data. This causes to increase the disk usage of the virtual disk.

Impact / Risks

The available free space of a Datastore fills up quickly and run out of space. This may impact already powered on VMs or not allowing VMs to be powered on

Resolution

For versions prior to vSphere 7.0 U1:

Disable automatic disk optimization.

Procedure:

In vSphere web client , select the affected virtual machine and select Open Console.

Log in as an administrator.

Click Start and type "Defragment and Optimize Drives" in the Search box.

Select "Defragment and Optimize Drives".

Select the drives listed in the "Optimize Drives" window that popped up.

Click "Change Settings" button under "Scheduled optimization".

Deselect "Run on a schedule (recommended)" and click OK.

Note: The Disk Optimization can be schedule on a Daily / Weekly or a Monthly basis, hence the frequency of the issue can depend on this settings.

If the disk usage of a thin-provisioned virtual disk increases, it can be freed by following steps:

Execute Disk Optimization without any snapshots.

Steps in KB 2004155 Resolution.

For versions on vSphere 7.0 U1:

vSphere 7.0 U1 release has optimized the SESparse snapshot process to reduce bloat. "When using thin VMDKs, there can be an increase in disk usage when consolidating snapshots and unmapping the deleted data. This optimizes the consolidation process."

This optimization resolves the underlying storage and therefore, all Guest OSes shall be optimized.

Note: Please create a ticket with VMware if the issue is seen on vSphere 7.0U1.

Related Information

There have been some major enhancements and modifications in the functionality of defrag in Windows server 2012.

/D     Perform traditional defrag (this is the default).
/K     Perform slab consolidation on the specified volumes.
/L     Perform retrim on the specified volumes.
/O     Perform the proper optimization for each media type.

The Storage Optimizer in Windows 8/Server 2012 , also takes care of maintenance activities like compacting data and compaction of file system allocation for enabling capacity reclamation on thinly provisioned disks. This is again platform specific, so if your storage platform supports it, Storage Optimizer will consolidate lightly used ‘slabs’ of storage and release those freed storage ‘slabs’ back to your storage pool for use by other Spaces or LUNs. This activity is done on a periodic basis i.e., without any user intervention and completes the scheduled task provided it is not interrupted by the user.

Microsoft link: https://blogs.technet.microsoft.com/askcore/2014/02/17/whats-new-in-defrag-for-windows-server-20122012r2/

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vSphere ESXi

Related Versions:

VMware vSphere ESXi 7.0.0

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

Take Our Survey

Support Assistant