Solved

unable to remove datastore

Posted on 2015-02-22
7
318 Views
Last Modified: 2015-03-17
I am unable to delete a one of the the datastore which was created for test on starwind Software based storage and then we remove the software based storage.

i am having esxi 5.5 following is the path of that datastore

ds:///vmfs/volumes/vsan:522ec4742912aa48-1d807bc397b3a60b/

i tried to delete by renaming this data store but no luck.
the data store named which i want to delete is named as "test"
datastore-names.docx
0
Comment
Question by:kastro Abbasi
[X]
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
  • 3
  • 3
7 Comments
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 40625213
Was the datastore used for VSAN (seeing the name mentioned)?

If so, you might still have a vsantraces folder on the datastore, this needs to be deleted before you can delete the store.

You can delete these folders by first stopping the vsan trace service (but watch out if you still use this service), stopping this service can be done over the cli:

/etc/init.d/vsantraced stop

Open in new window


Use "start" in place of stop to start the service once you've deleted the vsantraces folders on the datastore you wish to delete.
0
 

Author Comment

by:kastro Abbasi
ID: 40625224
There is nothing in this data store and even the storage having this datastore is also removed
the datastore is empty
 
anyways i run this command and try to delete but no luck.the same error as attached
datstore-deletion-error.png
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40625285
Are you absolutely sure the datastore is empty? No hidden files to be found? Did you look using cli?
Most of the time these issues are related to files still to be found on the datastore.

Also, run over the list mentioned in this VMWareKB to make sure that all is checked for removing a datastore.

If all fails, please provide us with some more information regarding your environment, what were testing, what happened before trying to remove the datastore... etc...
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:kastro Abbasi
ID: 40625360
~ # esxcli storage vmfs extent list
Volume Name     VMFS UUID                            Extent Number  Device Name                           Partition
--------------  -----------------------------------  -------------  ------------------------------------  ---------
datastore1 (1)  53703261-7960360c-b700-d89d671c0a34              0  naa.600508b1001c603cc8045033b8319426          3
Datstore-03     5385145a-ae03c0b3-9117-d89d671c0a34              0  naa.6006048ccc663d7695f542b675ff2aba          1
~ #

even the data store which i m deleting is not there.i checked nothing on this data store .its empty even not attached .i dont know from where it  appearing here .
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40625506
I see, without being able to look around I'm not sure what the issue can be, do you have a chance to reboot the affected host/server? Or did you already reboot it? Maybe it's an issue with vCenter?

I'll have another think ...
0
 

Author Comment

by:kastro Abbasi
ID: 40626567
yes i already restarted the host 2 times. and also restart the vcenter but nothing happend
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40626773
Can you post the output of the following?

esxcli storage core device detached list
esxcfg-scsidevs -m
esxcli storage core device list -d

Open in new window

0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

739 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