To resolve this issue, perform one of the following resolutions:
- 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.