Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

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

Cannot complete the operation because the file or folder /vmfs/volumes/xxxxxxxxxxx-checkpoint.vmdk already exists (76016)

Last Updated: 11/11/2022Categories: TroubleshootingTotal Views: 24856Language:
Chinese (Simplified)JapaneseEnglish

12 like this article

Subscribe to get an email
newsletter with new updates

12 people found this helpful Please provide article feedback:

Symptoms

Unable to refresh the VDI's from Horizon View. On vCenter server Events and Tasks we see the error : Cannot complete the operation because the file or folder /vmfs/volumes/xxxxxxxxxxx-checkpoint.vmdk already exists

Cause

In ESxi 6.7.x, we introduced DNLC for NFS caching. DNLC was not available in ESXi 6.5.x, hence the issue is seen only in ESXi 6.7.x

The cache is used to store the attributes of the files and directories for a short period of time (60 seconds).

Any lookup/stat that happen for a file that has it's attributes cache will be served from the cache avoiding network traffic and boost performance during lookup.

So what we see is that when 1 ESXi host deleted the checkpoint, the other host still is fetching that information from the attribute cache causing the issue.

Impact / Risks

Unable to refresh the VDI's from Horizon View.

Resolution

Resolution:
The following has been added to ESXi 7.0 update 1 and higher.

There is now a  configurable timeout for the attribute cache, Please see the below sample commands which can be initiated from an ESXi shell prompt:

NFSv3:

[:~] esxcfg-advcfg -g /NFS/AttrCacheTimeout
Value of NFSAttrCacheTimeout is 60

[:~] esxcfg-advcfg -s 5 /NFS/AttrCacheTimeout
Value of NFSAttrCacheTimeout is 5

NFSv4.1

[:~] esxcfg-advcfg -g /NFS41/AttrCacheTimeout
Value of NFS41AttrCacheTimeout is 60
[:~] esxcfg-advcfg -s 5 /NFS41/AttrCacheTimeout
Value of NFS41AttrCacheTimeout is 5

Notes:

The commands will persist the value across reboots, so this would be a one-time setup but needs to be performed on each host in the impacted cluster.

The value for the timeout can be further reduced if needed, with 1 second being the minimum. This would be based on your individual experience and setup. We would recommend starting with 5 seconds and assessing.

Workaround

Disable DNLC on all the ESXi hosts.

Login to the ESXi hosts via SSH and execute the following command : vsish -e set /vmkModules/nfsclient/mnt/<nfsvolume>/properties enableDnlc 0

Few important things to note :
1. The command needs to be fired on all the host(s) where the same NFS share is mounted
2. The effect of the command will only last until a remount (or reboot of the host). In case of a remount or host reboot, the
command needs to be issued again. You can refer to https://kb.vmware.com/s/article/2043564 to execute DNLC disable commands at every ESXi boot.
3. Please be aware of the fact that there will be a performance drop in lookup, since all lookups will be sent to the server.
Also this will cause an increase in the number of NFS packets sent over the network

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

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

KB
•
vRealize Operations Manager 8.0 のアップグレード評価ツールの使用 (74952)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere

VMware Horizon

Related Versions:

VMware vSphere 6.7.x

VMware Horizon 8

VMware Horizon 7.x

VMware Horizon 7

Take Our Survey

Support Assistant