Solved

remove a data store from vm client

Posted on 2009-05-20
17
656 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
Comment Utility
Are you sure that none of the VMs which use the data store are powered on ?
0
 

Author Comment

by:Sainai
Comment Utility
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
Comment Utility
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
Comment Utility
 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
Comment Utility
My question - Is there any Virtual machine which is currently using this datastore ?
0
 

Author Comment

by:Sainai
Comment Utility
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
Comment Utility
What type of Datastore is it ? Local, NAS or SAN ?
0
 

Author Comment

by:Sainai
Comment Utility
SAN. Did the attachment help at all?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 19

Expert Comment

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

Author Comment

by:Sainai
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
so no way to remove from gui?
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
Comment Utility
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
Comment Utility
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
Comment Utility
it won't stay gone when I try to remove the volume from the esx server.
0
 

Author Closing Comment

by:Sainai
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
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 rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

763 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

7 Experts available now in Live!

Get 1:1 Help Now