Re-import VMware Datastore after restarting SAN

vmware-esxivmware-vsphere

After restarting storage controller a datastore dissapeared from vSphere client view. The VM using the datastore was shutdown prior to controller restart. However, after refreshing and rescan in "Config -> Storage" the existing datastore did not re-import, even thou the LUN is still visible! What can be done in this case?

Best Answer

A LUN might be "visible" but have all paths disconnected - check this out by navigating to Storage adapters / <your adapter> / <your LUN> and selecting "Manage paths" from the context menu - At least one of the paths has to be in the state "Active (I/O)" for the LUN to be accessible / usable by your host.

If the LUN with the datastore is accessible, it might be just dropped from the configuration for one reason or the other - in this case you could re-import the storage manually: Configuration / Storage / Add storage / Select LUN should show all available LUNs and VMFS datastores present on them. Just select yours and finish the wizard - it should be imported and show up in the datastore list thereafter.