I run ESXI 5.1 and all my virtual machines are in a NAS mapped by iSCI datastore.
My router broke and obviously all the vm's where cut from their disks.
What I understand is that when such event occurs, esxi stop all I/O from vm's and trie to reconnect to the datastore. If it can't after a certain among of time, it unmount the datastore as it may have been gone forever …
I plugged a new switch then restart my esxi. I can see that the datastore appears online on the datacenter view from vCenter (but when I browse it nothing appears, I can't even make a new folder …) and in my host's storage view the datastore doesn't appear… If I trie to add a new datastore to the host and I select iSCSI/LUN nothing appear either.
Beside, on the NAS (a Synology) I can see that there is no active connection on my LUN …
So the big question is : How to get my datastore and all my vm's back ?
Best Answer
Connect to ESX using SSH/Local console, and try the following:
the first one lists your datastores and their status, the second one mounts it