Solved

remove a data store from vm client

Posted on 2009-05-20
17
659 Views
Last Modified: 2012-05-07
Hi,

I am trying to remove a couple of data stores from my vm client. But everytime I try to remove them, it says that it cannot be removed because it is being used by another process. What do I need to do to remove them? Thanks
0
Comment
Question by:Sainai
  • 10
  • 7
17 Comments
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24434752
Are you sure that none of the VMs which use the data store are powered on ?
0
 

Author Comment

by:Sainai
ID: 24434890
excuse me but I am a new to VMesx server. Ok so I am trying to create a new vmachine and from the data store that I created. The data store has max file size of 256 GB (my fault not paying attention). When I try to create a new virtual machine it doesn't allow me to because the Max size of the data store is 2TB. I am trying to resize the max file size to 2TB from 256GB. But can't find a way to change the size. So I tried to remove the data store but it says that it cannnot be removed cuz it is being used. It isn't added as a vmachine yet so don't know how to turn it off without logging into the vmclient. So how can I change the file size so I can add a virtual machine and load my os or how can I remove the data store so I can readd it? Thanks
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24435028
1.Login using VI Client to the ESX Host
2.Navigate to this path : Configuration -> Storage

Are you able to find the datastore ?

If yes then click Properties and attach the screenshot here of our datastore.
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.

 

Author Comment

by:Sainai
ID: 24435625
 I have attached the file with a screen shot. So I click on the either of the data stored starting with 4a and then it tells me it can't be removed because it is being used. I can't figure it out. I need to remove it.
Thanx
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24435679
My question - Is there any Virtual machine which is currently using this datastore ?
0
 

Author Comment

by:Sainai
ID: 24435940
no that's the problem. I can't create the virtual machine. I need the virtual machine so I can load an image that I have. But I can't create it and so I want to delete the data store and recreate it with the correct size for the max file size but it won't let me. thanx
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24436019
What type of Datastore is it ? Local, NAS or SAN ?
0
 

Author Comment

by:Sainai
ID: 24436039
SAN. Did the attachment help at all?
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24436062
I do not see any attachments in the thread.
0
 

Author Comment

by:Sainai
ID: 24436113
sorry I just noticed for crazy reason it keeps rejecting my .doc attachment. But the data store is a SAN.
0
 

Author Comment

by:Sainai
ID: 24436174
Is there anyway to remove it from the gui? I just read in a forum that I have to use fdisk to remove the partitions and then reboot and then recreate them using fdisk. Does this sound familar?
0
 
LVL 19

Accepted Solution

by:
vmwarun - Arun earned 250 total points
ID: 24436191
Shutdown the ESX Host and request your SAN Admin to format the LUN/LUNs which has been presented to the ESX Host.

This will make them as good as new. Boot your ESX Hosts then and add Storage and make the modifications as you intend to.



0
 

Author Comment

by:Sainai
ID: 24436541
so no way to remove from gui?
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24436694
I am not sure as to what process is being used when you try to remove the Datastore using GUI.
0
 

Author Comment

by:Sainai
ID: 24445319
I am now trying to just remove the volume itself. This seems nearly impossible. I deleted it via command line but it keeps showing up. Do you know how to delete the volume that was created?
0
 

Author Comment

by:Sainai
ID: 24445401
it won't stay gone when I try to remove the volume from the esx server.
0
 

Author Closing Comment

by:Sainai
ID: 31583641
this was not the absolute solution but wanted to award the points for all the assistance. I had to delete the volumes via command line to get rid of them.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

860 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