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

Cannot unmount old datastore in vCenter 5

I'm having trouble removing and old datastore. I'm running esxi 5 and vCenter 5 on win2k8server

Here's the scenario:
a vCenter server and some additional VMs were installed on an ESXi host. That host needed the RAID config to be modified so all VMs were moved off this server to another storage device. It's a single server setup so vmotion wasn't possible, the VMDKs and VMX files and all were transferred off and back on.

All worked well with this, the VMDK files were able to get readded to the inventory and everything. Only problem is when the new ESX host was setup it was setup with "datastoreNEW" instead of "datastoreOLD". datastoreOLD obviously doesn't exist anymore. The VMs now reside on datastoreNEW and work fine but according to the vCenter server they reside on both datastoreNEW and datastoreOLD.

It will not give me the option unmount datastoreOLD, only the option to unmount datastoreNEW which I can't do because the VMs are on there. It will also not let me put datastoreOLD in maintenance mode to unmount this. If I try to modify the datastore settings from the vCenter software on another server by directly connecting to the ESXi host it obviously will not show me that datastore info because I am not on the correct vCenter server.

Any idea how to get the datastoreOLD out of my original vCenter server configuration?


Thanks
0
bbayachek
Asked:
bbayachek
  • 2
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you got any references in any of the VMX files to the old datastore?

e.g. virtual disks (vmdks) that were on the old datastore, or connections of cdroms or isos, that could be on the old datastore.

if you select the datastore option from the inventory, it will show which Virtual Machines, still have links to the old datastore.
0
 
bbayachekAuthor Commented:
Wow that was simple. Apparently I missed the fact that 2 of the machines still pointed to ISOs on that datastore and one had snapshots pointing to that datastore. Once I removed these the old datastore just disappeared without me doing anything.

THanks!
0
 
bbayachekAuthor Commented:
hanccocka was correct. My comment just references which items needed to be addressed for my specific issue.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

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