Solved

remove a data store from vm client

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

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

821 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