Solved

Cannot unmount old datastore in vCenter 5

Posted on 2013-01-14
3
1,490 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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.
0
 
LVL 1

Assisted Solution

by:bbayachek
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.

THanks!
0
 
LVL 1

Author Closing Comment

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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
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…

691 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