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

My Subscriptions

Loading

Knowledge Base

vMotion fails in one direction with the log error: bad0020 (1015322)

Last Updated: 3/20/2024Categories: TroubleshootingTotal Views: 4513Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

vMotion between two hosts works in one direction (for example, from ESX1 to ESX2), but fails in the other direction (for example, from ESX2 to ESX1)

The vMotion operation fails at 10%

You see the following error reported in the vSphere client:

A general system error occurred: Migration failed while copying data. Not Supported.

The vmkernel.log files contain entries similar to:

(cat /var/log/current_vmkernel_or_messages_log | cut -d ")" -f 2- | grep -A3 -i vmotionrecv)
VMotionRecv: 1589: 1255000435466375 S: Error handling message: Not supported
WARNING: Migrate: 295: 1255000435466375 S: Failed: Not supported (0xbad0020) @0x0
WARNING: Migrate: 2545: 1255000435466375 S: Migration has failed; failing memory pre-copy attempt.
WARNING: Migrate: 3267: 1255000435466375 S: Migration considered a failure by the VMX. It is most likely a timeout, but check the VMX log for the true error.

The vmware.log files contain entries similar to:

(cat /vmfs/volumes/*/*/vmware.log | cut -d "|" -f 2- | grep -i setfailure)
Migrate_SetFailure: Failed waiting for data. Error bad0020. Not supported.

The hostd.log files contain entries similar to:

(cat /var/log/current_hostd_log_file | cut -d "]" -f 2- | grep -B4 -i vmotionlaststatuscb)
Question info: Migration to host <<unknown>> failed with error Not supported (0xbad0020).
, Id: 1 : Type : 3, Default: 0, Number of options: 1
Retrieved current VM state from foundry 4, 8
VMotionResolveCheck: Operation in progress
VMotionLastStatusCb: Failed with error 536870944: Migration failed while copying data. Not supported.

Note: Depending on the version of ESX/ESXi being used, the log file names and directory locations may be different. For more information, please see Location of log files for VMware products (1021806).

Cause

This issue occurs when the dvsdata.db file is corrupted (typically on the destination ESX/ESXi host).
This issue may occur even if you are not using vNetwork Distributed Switches (vDS) in your ESX/ESXi environment.

Resolution

To determine if the dvsdata.db file is corrupted, run the command:

# /usr/lib/vmware/bin/net-dvs

If the dvsdata.db is corrupted, you see the output:

failed to get config data: Not initialized.

Note: If no output is returned, then vDS is not enabled.

To resolve this issue:

Download and unzip 1015322_dvsdata.zip (attached to this article). This zip file contains an uncorrupted copy of dvsdata.db.

Note: You can also obtain an uncorrupted dvsdata.db from an ESX/ESXi host in your environment which is not experiencing this issue.

Replace the corrupt dvsdata.db in /etc/vmware/ with the uncorrupted file.

Reboot the host.

Run the following command to verify that the file is no longer corrupted:

# /usr/lib/vmware/bin/net-dvs

Alternately, you can use this command to reload dvsdata.db without a reboot:

# /usr/lib/vmware/bin/net-dvs -S /etc/vmware/dvsdata.db

Related Information

Location of log files for VMware products

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

1015322_dvsdata.zip

Additional Resources

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

KB
•
Download and Install VMware Fusion (2014097)

KB
•
‘L1 终端故障 - VMM’（L1TF - VMM） 缓解的 VMware 性能影响语句： CVE-2018-3646 (55767)

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 ESXi

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.0

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

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 ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Support Assistant