Link to home
Start Free TrialLog in
Avatar of Garry Shape
Garry ShapeFlag for United States of America

asked on

VMWare - datastore was removed but is still "mounted".

I'm trying to reverse-engineer (so to speak) a configuration with a datastore in my environment.  

There is a datastore, named nas01.
nas01 also happens to be a Virtual Windows Server2003 R2 windows server, which appears to be running the "File Server" role.
The shared folder on the File Server is what the datastore in vSphere is mapping to.

There is a .iso on that datastore/shared folder I need to mount for deploying a new VM with the OS on the ISO, but when I go to choose an ISO from the Datastore on the VM settings, I cannot see the datastore "nas01" listed.

I checked the datastore's past "tasks" tab, and it does appear there was a "Remove datastore" successful task by someone else.
However, I can still see the datastore represented in Inventory > Datastores and Datastore Clusters" view. if I right-click it from there, it has the option to "unmount".

Can someone explain if it's still "mounted", and why I can browse it, but I cannot see it in the list of datastores on the VM settings when I go to pick an ISO?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

What can happen, is the "phantom" datastore remains in the inventory database, because there is a reference to it, already by a VM.

If you remove these references, from the VM, it will disappear from the inventory.

The best way to check, is to check at the console. (e.g. physical console) or remotely by SSH.
Avatar of Garry Shape

ASKER

Well this datastore appears to still be browseable.
It's an NFS datastore so file path to a server and folder being shared from a virtual Windows server.
The datastore is connected to other hosts.

As for the host it's not working on, it's Datastore column shows "Unmounted" but with a state of "Connected, and Status of "Normal". But the whole row is  grey in italic.
How very odd?

Are there any VMs in use on it ?

Do you know, how it was unmounted ?
No idea but if I get rid of it, will it delete the actual NFS share?
I want to move the virtual disk that is the datastore to another Windows server.

What's the best way to remove it and then add it as a datastore to all hosts?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial