Solved

remove a data store from vm client

Posted on 2009-05-20
17
657 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
 

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
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.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
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…

932 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

11 Experts available now in Live!

Get 1:1 Help Now