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

"disks with same UUID should not be assigned to a VM" error adding a virtual disk to a virtual machine (1021189)

Last Updated: 9/29/2020Categories: TroubleshootingTotal Views: 43532Language:
English

7 like this article

Subscribe to get an email
newsletter with new updates

7 people found this helpful Please provide article feedback:

Symptoms

If the virtual machine is running and if you save the change on the virtual machine settings, you see a message similar to:

[msg.disk.duplicateUUID] Virtual disks "/vmfs/volumes/<DatastoreName>/<VMName>/<vDiskName.vmdk>" and "/vmfs/volumes/<DatastoreName>/<VMName>/<vDiskName.vmdk>" have the same UUID 60 00 C2 97 55 c1 8d 49-cd 59 4f 55 6e d9 0f 31. Virtual disks with same UUID should not be assigned to a VM since this can lead to problems when the guest boots. Please make sure virtual disks have unique UUIDs. Do you want to continue?

Note: The complete message is visible in the vmware.log file in the virtual machine folder.

If the virtual machine is running and you answer no, the virtual disk is not added to the virtual machine and the virtual disk gets locked

Cause

You cannot add a virtual disk to a virtual machine that already has a disk with the same UUID.

Resolution

To resolve this issue, perform one of the following resolutions:

To attach the disk using a different UUID, you can clone the disk. The cloning operation gives a new UUID to the virtual disk, see the Copying virtual disk files using the ESX service console section in Moving or Copying Virtual Disks in a VMware Environment (900).

Create a new UUID for the disk:

Power off the virtual machine to unlock the disk

Run this command to get the virtual disk UUID.

vmkfstools -J getuuid /vmfs/volumes/datastore/VM/vm.vmdk

Example:
vmkfstools -J getuuid New\ Virtual\ Machine.vmd
UUID is 60 00 C2 95 4c 37 b9 35-9f 11 05 fb e5 93 f4 ca

Run this command to set or modify the UUID:

vmkfstools -J setuuid /vmfs/volumes/datastore/VM/vm.vmdk

Example:

vmkfstools -J setuuid New\ Virtual\ Machine.vmdk
UUID is 60 00 C2 9c d7 4e d9 70-de 1f 59 d2 f0 e0 20 ac

A new UUID is returned after the command executes.

Related Information

Duplicate VMDK UUIDs are created when virtual machines are deployed from a template

Cannot find "disk.EnableUUID = "TRUE"" parameter in vmx file, when creating Windows Server 2016 virtual machine using Host Client

Editing a virtual machine with a duplicate UUID.bios

Changing or keeping a UUID for a moved virtual machine

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

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)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

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