I have three hosts, each with local datastores. One of my VMs is on host 1/datastore 1, but in settings the hard disk shows the disk files being on datastore 2. The actual files are on datastore 1, and there is no folder on datastore 2 for this VM.
Trying to power on, delete/add the hard disk (attaching the right diskfile) results in errors.
How do i correct the VM's configuration to point to the right datastore?
The diskfile should be on [c....-01:local]
I was accessing my environment via vCenter where all of my hosts were included. I connected direct to the host with vSphere and the settings were all correct. I was able to boot the VM without errors. So, I removed that host from vCenter and re-added it and everything came back in correct.
Have you tried removing hard disk 1 from the virtual machine (NOT delete from disk) and re-adding the hard disk 1 to the VM?
I have tried that. This is just trying to remove the disk from the VM
I was accessing my environment via vCenter where all of my hosts were included. I connected direct to the host with vSphere and the settings were all correct. I was able to boot the VM without errors. So, I removed that host from vCenter and re-added it and everything came back in correct.