VM changed to /vmfs/volumes/xxxxx after storage power off - how to recover?

Using vSphere 5.5, with 3 esxi .
in Esxi1, i have a VM stored in a synology nas, called Unitrends. Yesterday, after the NAS had a power shortage, when i tried to restart the machine (without knowing at the time that the storage was not available), the name changed to /vmfx/volumes/530773a-4e463....... (inaccessible).
I powered back on the Synology NAS, and checked that the All Path Down error messages are cleared, and can browse the datastore. Still, i don't know how to rename this back to it's original name, and power on the machine...

Who is Participating?
GreatSolutionsConnect With a Mentor C.I.OAuthor Commented:
Alright googled a bit and could remove it from the inventory after running a services.sh restart in the esxi.
Now, when i want to add it back to the inventory, i get the following error message:
"Unable to access the virtual machine configuration: invalid datastore path ds:///vmfs/volumes/53707731-4e....." which is really weird because when i browse the datastore it all seems good. I think somewhere when the Synology was powered off vmware renamed the path to that long ID  while what i see in the datastore is the original vm name
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
1. Remove this entry from the inventory - right click remove from inventory.

2. Browse the datastore, and re-add the Virtual Machine to the inventory.

see Step 6 in this EE Article I wrote

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

and when your power on the VM, you may get this message, see article

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)
GreatSolutionsC.I.OAuthor Commented:
Hi thanks for jumping in.
I tried removing from inventory in order to re-add it before i posted my question. When trying to remove i got the error message "A general system error occurred: invalid fault" call "VirtualMachine.Unregister"...failed
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That path is the real non friendly name

There is nothing still try to access this volume

ISO's CD-ROM floppy disks

Check data store inventory
GreatSolutionsC.I.OAuthor Commented:
I didn't understand your last message. If i browse the data store inventory i see no vm in it, since i successfully removed the old one from the inventory. The problem is now trying to re-add it.
Is there some way i can edit the vmx in the datastore and set the correct name, or something like that?
GreatSolutionsC.I.OAuthor Commented:
Finally managed to fix the remaining  by choosing different esxi host where the datastore didn't scream :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.