• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

Delete/remove inactive datastore (vmfs5, iscsi)

Hello World!

After mistake of deleting LUN100 Mappings on storage and deleting that logical drive on that storage, there was a present datastore (which was previously connected to that LUN100) with (inactive) status on VHost.

I tried recreate new logical drive on storage, assign the same LUN100, map to the same VHost, rescan all storage adapters, but i coudn't make that inactive datastore be normal.

There is only one thing i could do - rename that datastore.

Question: how to delete/remove from my VHost this inactive datastore completely?
P.S. I cant reboot that VHost, cause there are business critical VMs running.
Petr Poleshko
Petr Poleshko
  • 2
2 Solutions
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
First check that there is nothing using that datastore, use the Datastore Inventory View.

and then restart network management services and restart vCenter Server service.

None of the above will affect the Production running VMs.
Petr PoleshkoSystems administratorAuthor Commented:
Hello Andrew Hancock,

Thanks for your suggestion, but it didn't help. I still can see inactive datastore in webconsole of vCenter. It's also shows that there is a virtual machine (orphaned) on this datastore, but i can't either do something with it too.

What i actually did:
"restart network management services"
Go to VHost console, F2 - Troubleshooting guide - Restart Management Agents

"restart vCenter Server service"
I restarted vCenter Appliance.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
When you check the inventory for the datastore, does it shows this orphaned VM.

Remove the  orphaned VM from the Inventory.

Can you then remove the datastore ?
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.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now