Datastore showing as inactive in Vmware

Hello,
I am using a local USB drive to host some ISO files but ever since I unplugged the drive from the server (for cable cleanup), plugged it back in.. VMware is now showing the datastore as "Inactive".  I tried rescanning the datastores but nothing is working.

What can I do for Vsphere to bring this datastore back online?
kjs00333Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Was this being used as a VMFS datastore e.g. VMFS
0
kjs00333Author Commented:
Yes it was. I tried to unmount but getting the error:

"Cannot remove datastore 'datastore_name' because Storage I/O Control is enabled on it"


I tried following the VMware KB article with no success. This storage device is connected to several of my hosts. I'm not sure exactly what to do.. I don't know why unplugging it and plugging it back in freaked it out.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm surprised you were able to create a VMFS datastore on a USB external disk?

which is generally not supported.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

kjs00333Author Commented:
It's shared out on the network. So the IP of the server and share name "/ISO" was able to bring it up when adding a storage device.

I guess it's working similar to a NAS.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay, this is a NFS resource.

can you right click and unmount the device, or re-add with the same IP Address.

no VMs currently have any mapping e.g. cdrom to the datastore, this can sometimes stop it from disappearing.
0
kjs00333Author Commented:
Yes, I stand corrected, it is NFS.  
I was able to get rid of one inactive datastore by checking each VM and seeing that an ISO was mounted in the CD drive. So that worked..

However, I still have 1 data store showing as inactive after I checked each VM verifying that all VMs CD drive is set to Client Device. I can unmount it from the "Inventory" menu, but when I right click the datastore, unmount is greyed out.
0
kjs00333Author Commented:
Here is what im seeing when trying to unmount.

Thanks again for your help on this.. hopefully you have an idea.
inactive.jpg
Hosts.jpg
resource-in-use.jpg
unmount-from-inventory.jpg
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is this NAS connected to the network correctly with same IP Address as before?
0
kjs00333Author Commented:
Yep, it's plugged into the same server as before which hosts it. It's just a network share which is hosted on that USB removable drive. It's not a NAS that has an assigned IP address, it's just acting as one in a way..
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
this is NFS ?
0
kjs00333Author Commented:
Yes it is mounted as an NFS datastore.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you try and re-scan storage does it disappear
0
kjs00333Author Commented:
There's a VM which is connected to that datastore that is holding a snapshot. I'm going to delete the snapshot and try a rescan.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If the datastore is not mounted or available how is the VM working?
0
kjs00333Author Commented:
I'm not sure.. When I highlighted the Datastore, it showed a VM connected to it but it was it's own host. I deleted all snapshots and still cannot remove the datastore.

I also cannot remove in SSH. I included some screenshots of what I'm attempting with no luck. It's almost as if the host doesn't recogonize the volume name
invalid.jpg
list-command.jpg
0
kjs00333Author Commented:
Well, after rebooting the hosts, I am able to remove the storage from the host under the configuration tab > storage. I right click the  Datastore and can now unmount. Problem is I have to do this on 12 hosts with several critical VMs. I wish there was a better way to do this.

If I just restart the management services, will this work without affecting the VMs?
0
ZDICTCommented:
I had sort of the same problem, i couldnt migrate vm's to a host because a inactive NFS volume wich could not be unmounted.
After a restart of the host this problem was solved. I didn't have to unmount the storage.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kjs00333Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 100 points for ZDICT's comment #a39624215
Assisted answer: 0 points for kjs00333's comment #a39527783

for the following reason:

Resolved after a host reboot.
0
kjs00333Author Commented:
I was able to resolve this with the reboot of each host that had this datastore connected to it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.