To resolve this issue, either do one of the following:
- Consolidate the virtual machine snapshot. For steps and for more information, see Consolidate Snapshots.
- Unmount the ISO file currently mounted to the virtual machine.
- Reconfigure the VM to store the serial output file onto a different datastore.
- For VMs running on Hardware Version 10 or lower, unmount the floppy drive reference (This would be visible only through the Windows Desktop Client).
Note: If the ISO file (or floppy drive) is not in use by the virtual machine, select Client Device from the drop-down next to the CD/DVD drive.
vSphere Web Client:
- Right click the virtual machine and select Edit Settings.
- Expand the CD/DVD drive, verify if an ISO file is mounted to virtual machine from another datastore.
- From the drop-down next to the CD/DVD drive, select Client Device.
- Click OK to save the changes to the virtual machine.
To address if the vmware.log file of the virtual machine is configured to write to another datastore
- Navigate to VM Options > Advanced > Edit Configuration:
- Search for the custom field: log.fileName.
- If the field exist, power off the virtual machine and remove or delete this field.
- Power on the virtual machine.
If the virtual machine still displays two datastores
Workaround:
A) Compute vMotion the VM to another ESXi host, or re-register the VM:
- Power off the virtual machine.
- Remove the virtual machine from the inventory.
- Re-register the .vmx file. For steps and for more information, see Register an Existing Virtual Machine in the VMware Host Client.
Workaround:
B) Storage vMotion the VM to the datastore that contains the VM's .vmx file.