Cannot unmount old datastore in vCenter 5

Posted on 2013-01-14
Medium Priority
Last Modified: 2013-01-19
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?

Question by:bbayachek
  • 2
LVL 126

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 38775638
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.

Assisted Solution

bbayachek earned 0 total points
ID: 38775714
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.


Author Closing Comment

ID: 38796078
hanccocka was correct. My comment just references which items needed to be addressed for my specific issue.

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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

This article will explain How to fix Broken backup chain in Veeam Backup & Replication.
Want to create a VM?  Here's how you do it.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question