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
Solved

How to remove datastore entry from vCenter

Posted on 2015-02-09
9
180 Views
Last Modified: 2015-02-15
Datastore is removed by the Storage Admin and its showing "inactive" in Datastore under vCenter. How can I remove entry showing under vCenter? I cant unmount now but when I try to delete datastore it gives me I/O error.
0
Comment
Question by:Hitesh
  • 5
  • 2
  • 2
9 Comments
 
LVL 5

Expert Comment

by:GG VP
ID: 40600117
The datastore should have been first unmounted and then the storage admin should have reclaimed the unused LUN,

Best Practice: How to correctly remove a LUN from an ESX host

From the above blog post,

01. Unregister all objects from the datastore including VMs and Templates

02. Ensure that no 3rd party tools are accessing the datastore

03. Ensure that no vSphere features, such as Storage I/O Control or Storage DRS, are using the device

04. Detach the device from the ESX host; this will also initiate an unmount operation

05. Physically unpresent the LUN from the ESX host using the appropriate array tools

06. Rescan the SAN


Since your scenario is different, we have to remove the datastore hard way. The only option I think is to using CLI to find the volume and delete, need to careful here, else you may end up deleting wrong datastore!
0
 
LVL 119
ID: 40600211
datastore is still in use. track down what VM has access to it.

if it's helpful select the datastore view, select the datastore, and it should show what has access to it.

sometimes, you may find, it could be ESXi locker files, logs or VMware HA ?
0
 

Author Comment

by:Hitesh
ID: 40602218
As such now there is no storage attached to it because storage guy has already removed from his end. We might have to go through the hard way (CLI). Going through this article from Vmware to resolve the matter.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2008507

New questions is that - is it okay to restart storageRM services during day time or I need to do this during non office hours.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 5

Accepted Solution

by:
GG VP earned 500 total points
ID: 40602500
Restarting service could/can impact the running VMs on the host, better to do it during non office hours!
0
 
LVL 119
ID: 40602611
Restart the Network Management Agents on the Host, this will not affect running VMs.

If this does not clear the datastore, restart the host.

However, if there is a reference to this datastore, in any of the VMs, it will still remain as a reference.
0
 

Author Comment

by:Hitesh
ID: 40611503
I've requested that this question be closed as follows:

Accepted answer: 0 points for Hitesh's comment #a40602218

for the following reason:

•      Connect to HOST via putty
•      Run this command  stop the SIOC service  - /etc/init.d/storageRM stop
•      In the vSphere Client, select the host and then click the Configuration tab/ Click Rescan All.
•      After the rescan completes, ensure the disconnected datastore is removed from this particular host
•      On the host, Start the SIOC service - /etc/init.d/storageRM start
•      Repeat the above steps for each host

VMware KB article - http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2011220
0
 

Author Comment

by:Hitesh
ID: 40611501
.
0
 

Author Comment

by:Hitesh
ID: 40611502
Thanks for help
0
 

Author Closing Comment

by:Hitesh
ID: 40611504
Thanks restarting SIOC services resolved the matter
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare & and Storage 10 92
Migrate VM to other host 12 51
vCenter upgrade from 5.5 to 6.5 7 93
Connect to CentOS (in a local VMWare VM) using Putty 7 62
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

856 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