Solved

Cannot unmount old datastore in vCenter 5

Posted on 2013-01-14
3
1,418 Views
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?


Thanks
0
Comment
Question by:bbayachek
  • 2
3 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
 
LVL 1

Assisted Solution

by:bbayachek
bbayachek earned 0 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:bbayachek
Comment Utility
hanccocka was correct. My comment just references which items needed to be addressed for my specific issue.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now